Interface: Directive<T>

twind.Directive

Type parameters

Name
T

Callable

Directive(context: Context): T

Can be used as a inline directive

Parameters:

NameType
contextContext

Returns: T

Defined in: src/types/twind.ts:190

Directive(params: string[], context: Context): T

Can be used as a plugin

Parameters:

NameType
paramsstring[]
contextContext

Returns: T

Defined in: src/types/twind.ts:192