• Renders an overlay and it's children

    Parameters

    • props: PropsWithChildren<ModalProps>
    • Optional context: any

    Returns null | ReactElement<any, any>

    Example

    <Modal isShown={true} onBackDropClicked={() => console.log('back-drop clicked')}>
    <div>Component(s) to render</div>
    </Modal>

Generated using TypeDoc