@wix/design-system
Version:
@wix/design-system
9 lines • 455 B
JavaScript
import React from 'react';
import { st, classes } from './Cell.st.css.js';
const Cell = ({ span = 12, rows = 1, children, vertical, className, dataHook, }) => (React.createElement("div", { "data-hook": dataHook, style: {
gridColumn: `span ${span}`,
gridRow: `span ${rows}`,
}, className: st(classes.root, { vertical }, className), children: children }));
Cell.displayName = 'Cell';
export default Cell;
//# sourceMappingURL=Cell.js.map