Type alias StateInitializer<Value>

StateInitializer<Value>: Value | (() => Value)

States can be initialized with a value or function that returns a value

Type Parameters

  • Value

Generated using TypeDoc