Guaxu Docs
    Preparing search index...

    Interface DialogProps

    interface DialogProps {
        children: ReactNode;
        isDismissable?: boolean;
        isOpen: boolean;
        onClose: () => void;
    }
    Index

    Properties

    children: ReactNode
    isDismissable?: boolean

    whether to close the dialog when the user interacts outside of it

    true

    isOpen: boolean
    onClose: () => void

    callback that is called when:

    • the user clicks in the close button, if closeButton is true in the DialogHeader component
    • the user interacts outside of the dialog, if the isDismissable prop is true