Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React, {PropTypes} from 'react'; // eslint-disable-line no-unused-vars
import {ValidatedComponent} from 'utils';
import masonry from 'react-masonry-component';
const Masonry = masonry(React);
// const styles = {
// display: 'flex',
// flexDirection: 'row',
// flexWrap: 'wrap',
// alignItems: 'flex-start'
// // justifyContent: 'center'
// };
export default class Grid extends ValidatedComponent {
static propTypes = {
children: PropTypes.node.isRequired
}
render() {
const {children} = this.props;