DialogCloseButtoncomponent

DialogCloseButton({ children = <XMarkIcon />, ...variants }: DialogCloseButtonProps): ReactElement
ParamType
propsDialogCloseButtonProps
Props for <DialogCloseButton> — button styling variants and optional children to override the X icon. required
Return
ReactElement

Button that closes its wrapping <dialog>, showing an X icon by default.