@hydroperx/metrodesign
    Preparing search index...

    Function BlackoutModal

    • A modal displaying a blackout backdrop.

      BlackoutModal is always visible. It should stay present in DOM only when opened; the close event handler should destroy it from the DOM.

      Parameters

      • params: {
            children?: ReactNode;
            className?: string;
            close: () => void;
            id?: string;
            ref?: Ref<HTMLDivElement | null>;
            style?: CSSProperties;
        }
        • Optionalchildren?: ReactNode
        • OptionalclassName?: string
        • close: () => void

          Close event. The specified handler should destroy the modal from the DOM.

        • Optionalid?: string
        • Optionalref?: Ref<HTMLDivElement | null>
        • Optionalstyle?: CSSProperties

      Returns ReactNode