on 616e621 help sign in
bridge/src/components/RowCol.js
30 lines 470 B history raw
1import React from 'react';
2import PropTypes from 'prop-types'
4import { Row, Col } from './Base'
6const RowCol = ({ className, children, style }) => {
7 return (
8 <Row className={`${className}`} style={style}>
9 <Col>
10 { children }
11 </Col>
12 </Row>
13 )
17RowCol.propTypes = {
18 className: PropTypes.string,
19 children: PropTypes.node,
20 style: PropTypes.object,
21};
24RowCol.defaultProps = {
25 className: '',
26 style: {},
27};
30export default RowCol;