UNPKG

@nex-ui/react

Version:

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

33 lines (29 loc) • 813 B
"use client"; 'use strict'; var jsxRuntime = require('react/jsx-runtime'); var system = require('@nex-ui/system'); var useSlot = require('../utils/useSlot.cjs'); const recipe = system.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.useSlot({ style, elementType: 'div', externalForwardedProps: props }); return /*#__PURE__*/ jsxRuntime.jsx(ModalFooterRoot, { ...getModalFooterRootProps() }); }; ModalFooter.displayName = 'ModalFooter'; exports.ModalFooter = ModalFooter;