Axinom Mosaic Libraries
    Preparing search index...

    Interface UseModalResult

    interface UseModalResult {
        closeModal: () => void;
        isShown: boolean;
        ModalWrapper: FC;
        openModal: () => void;
    }
    Index

    Properties

    closeModal: () => void

    Method to close the modal.

    isShown: boolean

    Indicates whether the modal is shown or not.

    ModalWrapper: FC

    The component for the modal. (Make sure to add this to the DOM)

    openModal: () => void

    Method to open the modal.