UNPKG

@nex-ui/react

Version:

🎉 A beautiful, modern, and reliable React component library.

17 lines (14 loc) • 372 B
"use client"; import { jsx } from 'react/jsx-runtime'; import { useSlot } from '../utils/useSlot.mjs'; const Box = (props)=>{ const [BoxRoot, getBoxRootProps] = useSlot({ elementType: 'div', externalForwardedProps: props }); return /*#__PURE__*/ jsx(BoxRoot, { ...getBoxRootProps() }); }; Box.displayName = 'Box'; export { Box };