UNPKG

@nex-ui/react

Version:

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

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