UNPKG

wix-storybook-utils

Version:

Utilities for automated component documentation within Storybook

18 lines 607 B
import React from 'react'; import classname from 'classnames'; import styles from './styles.scss'; var Cell = function (_a) { var _b; var span = _a.span, children = _a.children, className = _a.className, vertical = _a.vertical; return (React.createElement("div", { style: { gridColumn: "span ".concat(span), }, className: classname(styles.root, className, (_b = {}, _b[styles.vertical] = vertical, _b)), children: children })); }; Cell.displayName = 'Cell'; Cell.defaultProps = { span: 12, }; export default Cell; //# sourceMappingURL=index.js.map