@@ -192,3 +192,22 @@ description props kids = React.element descriptionImpl $
192 ( RB.insert (Proxy ∷ _ "children") kids
192 ( RB.insert (Proxy ∷ _ "children") kids
195+-- | The type of the DialogClose component props
196+type DialogCloseProps =
198+ Opt Boolean -- ^ Whether to render the alert dialog description as a child of the dialog content
200+ Opt String -- ^ The CSS class name of the alert dialog description
201+ , style ∷ Opt CSS -- ^ The CSS style of the alert dialog description
204+-- | The foreign component for the DialogClose
205+foreign import closeImpl ∷ ∀ a. ReactComponent { | a }
207+-- | A PureScript wrapper for the DialogClose component
209+ ∀ p kids. Coerce p DialogCloseProps ⇒ IsJSX kids ⇒ p → kids → JSX
210+close props kids = React.element closeImpl $
211+ (coerce props ∷ DialogCloseProps) # RB.build
212+ ( RB.insert (Proxy ∷ _ "children") kids