on 8011c59 help sign in
bridge/src/components/RowCol.js
25 lines 455 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>{children}</Col>
10 </Row>
11 );
12};
14RowCol.propTypes = {
15 className: PropTypes.string,
16 children: PropTypes.node,
17 style: PropTypes.object,
18};
20RowCol.defaultProps = {
21 className: '',
22 style: {},
23};
25export default RowCol;