UNPKG

lincd-design-elems

Version:

28 lines 828 B
// import React from 'react'; // import './Grid.scss'; // import {default as style} from './Grid.scss.json'; // import {linkedSetComponent} from '../package.js'; // import {Shape} from 'lincd/shapes/Shape'; //To be remade with lincd 1.0 // export const Grid = linkedSetComponent( // Shape.query(s => { // s.preloadFor(Child) // }), // ({sources, children, ChildComponent}) => { // //TODO: add props for columns etc // return ( // <div className={style.Grid}> // {ChildComponent // ? sources.map((source) => { // return ( // <ChildComponent of={source} key={source.node.toString()} /> // ); // }) // : children} // </div> // ); // }, // ); // // registerPackageModule(module); //# sourceMappingURL=Grid.js.map