Module

HeroUI.Modal

Package
purescript-yoga-heroui
Repository
rowtype-yoga/purescript-yoga-heroui

#ModalProps Source

type ModalProps :: Row Type -> Row Typetype ModalProps r = (backdrop :: Backdrop, className :: String, classNames :: Foreign, closeButton :: JSX, defaultOpen :: Boolean, disableAnimation :: Boolean, hideCloseButton :: Boolean, isDismissable :: Boolean, isKeyboardDismissDisabled :: Boolean, isOpen :: Boolean, motionProps :: Foreign, onClose :: EffectFn1 Foreign Unit, onOpenChange :: EffectFn1 Boolean Unit, placement :: Placement, portalContainer :: Foreign, radius :: Radius, scrollBehavior :: ScrollBehavior, shadow :: ShadowSize, shouldBlockScroll :: Boolean, size :: Size | r)

#modal Source

modal :: forall givenProps nonDataProps kids. IsJSX kids => CoerceReactProps (Record givenProps) (Record nonDataProps) (Record (ModalProps ())) => Record givenProps -> kids -> JSX

#ModalContentProps Source

type ModalContentProps :: Row Type -> Row Typetype ModalContentProps r = (className :: String | r)

#modalContent Source

modalContent :: forall givenProps nonDataProps kids. IsJSX kids => CoerceReactProps (Record givenProps) (Record nonDataProps) (Record (ModalContentProps ())) => Record givenProps -> kids -> JSX

#ModalHeaderProps Source

type ModalHeaderProps :: Row Type -> Row Typetype ModalHeaderProps r = (className :: String | r)

#modalHeader Source

modalHeader :: forall givenProps nonDataProps kids. IsJSX kids => CoerceReactProps (Record givenProps) (Record nonDataProps) (Record (ModalHeaderProps ())) => Record givenProps -> kids -> JSX

#ModalBodyProps Source

type ModalBodyProps :: Row Type -> Row Typetype ModalBodyProps r = (className :: String | r)

#modalBody Source

modalBody :: forall givenProps nonDataProps kids. IsJSX kids => CoerceReactProps (Record givenProps) (Record nonDataProps) (Record (ModalBodyProps ())) => Record givenProps -> kids -> JSX

#ModalFooterProps Source

type ModalFooterProps :: Row Type -> Row Typetype ModalFooterProps r = (className :: String | r)

#modalFooter Source

modalFooter :: forall givenProps nonDataProps kids. IsJSX kids => CoerceReactProps (Record givenProps) (Record nonDataProps) (Record (ModalFooterProps ())) => Record givenProps -> kids -> JSX