Import

    Properties

    Methods

    MethodModifiersDescription
    componentDidMount()
    render()

    Signature

    1. static defaultProps: {
    2. includeButtonPress: boolean;
    3. parent: Window & typeof globalThis;

    myRef property

    Signature

    1. onOutsideClick: (event: any) => void;

    state property

    Signature

    1. state: {
    2. hasEventListener: boolean;
    3. };

    Signature

    Returns:

    componentWillUnmount method

    Signature

      Returns:

      void

      Signature

      JSX.Element