SetStateAction
SetStateAction<
S> =S| (previousValue) =>S
Defined in: react/src/useClientDocument.ts:168
A state update that can be either a full value or a function returning a full value.
Mirrors React’s SetStateAction type.
Type Parameters
Section titled “Type Parameters”S
The state type