Interface: SheetInit
twind.SheetInit
Callable
▸ SheetInit<T>(callback
: SheetInitCallback<T>): T
Register a function that should be called to use a snapshot state or create a new state.
Type parameters:
Name |
---|
T |
Parameters:
Name | Type |
---|---|
callback | SheetInitCallback<T> |
Returns: T
Defined in: src/types/twind.ts:71