Sha256: 0f635dd12e900d242966cb8af44053fe7895b32dba6fc36c95d6b4b7211f41c0
Contents?: true
Size: 439 Bytes
Versions: 35
Compression:
Stored size: 439 Bytes
Contents
const UIStack = ({ children, wrap, center }) => { const className = classNames({ 'ui-stack': true, 'ui-stack--wrap': wrap, 'ui-stack--alignment-center': center }); return ( <div className={className}> {children} </div> ); }; UIStack.propTypes = { children: React.PropTypes.node, wrap: React.PropTypes.bool, center: React.PropTypes.bool }; UIStack.defaultProps = { wrap: true, center: true };
Version data entries
35 entries across 35 versions & 1 rubygems