Sha256: 0e2c977a8896921cb8e92db4ac6c31fa95419d163d46f5457212fe72192f98df
Contents?: true
Size: 469 Bytes
Versions: 12
Compression:
Stored size: 469 Bytes
Contents
const Table = ({ children, scrollable, sticky }) => { const className = classNames({ 'table-wrapper': true, 'table-wrapper--scrollable': scrollable, 'table-wrapper--sticky': sticky }); return ( <div className={className}> <table className="expanded"> {children} </table> </div> ); }; Card.PropTypes = { children: React.PropTypes.node.isRequired, scrollable: React.PropTypes.bool, sticky: React.PropTypes.bool };
Version data entries
12 entries across 12 versions & 1 rubygems