UNPKG

@jengaui/core

Version:

Jenga UI Core component in React

8 lines (5 loc) 361 B
import { forwardRef } from 'react'; import { tasty, extractStyles, CONTAINER_STYLES, filterBaseProps } from 'tastycss'; import { jsx } from 'react/jsx-runtime'; var p=tasty({styled:{display:"block"}}),k=forwardRef(function(e,o){let t=extractStyles(e,CONTAINER_STYLES);return jsx(p,{...filterBaseProps(e,{eventProps:!0}),ref:o,styles:t})}); export { k as a };