SetStateAction<S>: S | ((prevState: S) => S)

Type Parameters

  • S