@rcsb/rcsb-saguaro-app
    Preparing search index...

    Class AbstractMenuItemComponent<P, S, SS>Abstract

    Type Parameters

    • P extends { stateChange(state: S, prevState: S): void }
    • S extends {}
    • SS extends S = S

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    • Type Parameters

      • P extends { stateChange(state: S, prevState: S): void }
      • S extends {}
      • SS extends {} = S

      Parameters

      • props: P

      Returns AbstractMenuItemComponent<P, S, SS>

    • Type Parameters

      • P extends { stateChange(state: S, prevState: S): void }
      • S extends {}
      • SS extends {} = S

      Parameters

      • props: P
      • context: any

        value of the parent Context specified in contextType.

      Returns AbstractMenuItemComponent<P, S, SS>

    Methods

    • Called immediately after updating occurs. Not called for the initial render.

      The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.

      Parameters

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

      Returns void