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:

NameType
stringsTemplateStringsArray
...interpolationsreadonly 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:

NameType
tokensMaybeThunk<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:

NameType
...tokensreadonly MaybeThunk<undefined | null | false | void | ** | 0 | T>[]

Returns: Directive<R>

Defined in: src/css/index.ts:30