Moved code into src folder. Added build for component library.
This commit is contained in:
13
src/components/layout/Grid.js
Normal file
13
src/components/layout/Grid.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Row, Column } from 'react-basics';
|
||||
import classNames from 'classnames';
|
||||
import styles from './Grid.module.css';
|
||||
|
||||
export function GridRow(props) {
|
||||
const { className, ...otherProps } = props;
|
||||
return <Row {...otherProps} className={classNames(styles.row, className)} />;
|
||||
}
|
||||
|
||||
export function GridColumn(props) {
|
||||
const { className, ...otherProps } = props;
|
||||
return <Column {...otherProps} className={classNames(styles.col, className)} />;
|
||||
}
|
||||
Reference in New Issue
Block a user