UNPKG

@nex-ui/react

Version:

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

21 lines (18 loc) • 550 B
"use client"; import { jsx } from 'react/jsx-runtime'; import { nex } from '@nex-ui/styled'; import { modalFooterRecipe } from '../../theme/recipes/modal.mjs'; import { useSlotProps } from '../utils/useSlotProps.mjs'; const style = modalFooterRecipe(); const ModalFooter = (inProps)=>{ const props = inProps; const rootProps = useSlotProps({ style, externalForwardedProps: props }); return /*#__PURE__*/ jsx(nex.div, { ...rootProps }); }; ModalFooter.displayName = 'ModalFooter'; export { ModalFooter };