Type Parameters

  • P extends {
        stateChange(state, prevState) => void;
    }

  • S extends {}

  • SS extends S = S

Hierarchy

Constructors

Methods

Constructors

  • Type Parameters

    • P extends {
          stateChange(state, prevState) => void;
      }

    • S extends {}

    • SS extends {} = S

    Parameters

    • props: P | Readonly<P>

    Returns AbstractMenuItemComponent<P, S, SS>

  • Type Parameters

    • P extends {
          stateChange(state, prevState) => void;
      }

    • S extends {}

    • SS extends {} = S

    Parameters

    • props: P
    • context: any

    Returns AbstractMenuItemComponent<P, S, SS>

Methods

  • Parameters

    • prevProps: Readonly<P & {
          stateChange(newState, oldState) => void;
      }>
    • prevState: Readonly<S & SS>
    • Optional snapshot: any

    Returns void

Generated using TypeDoc