UNPKG

@nex-ui/react

Version:

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

31 lines (28 loc) • 763 B
"use client"; import { jsx } from 'react/jsx-runtime'; import { defineRecipe } from '@nex-ui/system'; import { useSlot } from '../utils/useSlot.mjs'; const recipe = defineRecipe({ base: { w: 'full', boxSizing: 'border-box', display: 'flex', alignItems: 'center', justifyContent: 'flex-end', gap: '5' } }); const style = recipe(); const ModalFooter = (inProps)=>{ const props = inProps; const [ModalFooterRoot, getModalFooterRootProps] = useSlot({ style, elementType: 'div', externalForwardedProps: props }); return /*#__PURE__*/ jsx(ModalFooterRoot, { ...getModalFooterRootProps() }); }; ModalFooter.displayName = 'ModalFooter'; export { ModalFooter };