Interface: Directive<T>
twind.Directive
Type parameters
Name |
---|
T |
Callable
▸ Directive(context
: Context): T
Can be used as a inline directive
Parameters:
Name | Type |
---|---|
context | Context |
Returns: T
Defined in: src/types/twind.ts:190
▸ Directive(params
: string[], context
: Context): T
Can be used as a plugin
Parameters:
Name | Type |
---|---|
params | string[] |
context | Context |
Returns: T
Defined in: src/types/twind.ts:192