UNPKG

@jengaui/layout

Version:

Jenga UI Layout component in React

8 lines (5 loc) 464 B
import { forwardRef } from 'react'; import { tasty, extractStyles, CONTAINER_STYLES, filterBaseProps } from 'tastycss'; import { jsx } from 'react/jsx-runtime'; var d=tasty({styles:{display:"grid",flow:"row"}}),l={template:"gridTemplate",columns:"gridColumns",rows:"gridRows",areas:"gridAreas"},g=forwardRef(function(r,e){let t=extractStyles(r,CONTAINER_STYLES,void 0,l);return jsx(d,{...filterBaseProps(r,{eventProps:!0}),ref:e,styles:t})}); export { g as a };