focus-components-v3
Version:
Focus web components to build applications (based on Material Design)
22 lines (17 loc) • 479 B
JavaScript
// see http://www.getmdl.io/components/index.html#layout-section/grid
//dependencies
import React, {Component, PropTypes} from 'react';
/**
* Grid component.
*/
function Grid({children, className, ...otherProps}) {
return (
<div className={`mdl-grid ${className ? className : ''}`} {...otherProps}>
{children}
</div>
);
}
Grid.propTypes = {};
//Static props.
Grid.displayName = 'Grid';
module.exports = Grid;