@resistdesign/voltra
    Preparing search index...

    Type Alias ApplicationStateSetAction<ValueType>

    ApplicationStateSetAction: ValueType | ((previousValue: ValueType) => ValueType)

    React-style state action for a specific application-state value.

    Passing a function follows the same contract as React useState: the function receives the previous value and returns the next value.

    Type Parameters

    • ValueType