Interface OutputSelector<State, Result>

interface OutputSelector<State, Result> {
    acceptsApiRef: boolean;
    (apiRef: MutableRefObject<{
        instanceId: {
            id: number;
        };
        state: State;
    }>): Result;
    (state: State, instanceId: {
        id: number;
    }): Result;
}

Type Parameters

  • State
  • Result
  • Parameters

    • apiRef: MutableRefObject<{
          instanceId: {
              id: number;
          };
          state: State;
      }>

    Returns Result

  • Parameters

    • state: State
    • instanceId: {
          id: number;
      }
      • id: number

    Returns Result

Properties

Properties

acceptsApiRef: boolean