@@ -192,3 +192,22 @@ description props kids = React.element descriptionImpl $
192192 ( RB.insert (Proxy ∷ _ "children") kids
193193 )
194194
195+-- | The type of the DialogClose component props
196+type DialogCloseProps =
197+ { asChild ∷
198+ Opt Boolean -- ^ Whether to render the alert dialog description as a child of the dialog content
199+ , className ∷
200+ Opt String -- ^ The CSS class name of the alert dialog description
201+ , style ∷ Opt CSS -- ^ The CSS style of the alert dialog description
202+ }
203+
204+-- | The foreign component for the DialogClose
205+foreign import closeImpl ∷ ∀ a. ReactComponent { | a }
206+
207+-- | A PureScript wrapper for the DialogClose component
208+close ∷
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
213+ )