Interface: CSSFactory<T, I, R>
twind/css.CSSFactory
Type parameters
Name |
---|
T |
I |
R |
Callable
▸ CSSFactory(strings
: TemplateStringsArray, ...interpolations
: readonly MaybeThunk<MaybeArray<undefined | null | string | number | false | void | I>>[]): Directive<R>
Parameters:
Name | Type |
---|---|
strings | TemplateStringsArray |
...interpolations | readonly MaybeThunk<MaybeArray<undefined | null | string | number | false | void | I>>[] |
Returns: Directive<R>
Defined in: src/css/index.ts:25
▸ CSSFactory(tokens
: MaybeThunk<MaybeArray<undefined | null | false | void | ** | 0 | T>>): Directive<R>
Parameters:
Name | Type |
---|---|
tokens | MaybeThunk<MaybeArray<undefined | null | false | void | ** | 0 | T>> |
Returns: Directive<R>
Defined in: src/css/index.ts:29
▸ CSSFactory(...tokens
: readonly MaybeThunk<undefined | null | false | void | ** | 0 | T>[]): Directive<R>
Parameters:
Name | Type |
---|---|
...tokens | readonly MaybeThunk<undefined | null | false | void | ** | 0 | T>[] |
Returns: Directive<R>
Defined in: src/css/index.ts:30