Interface: StyleFunction

twind/style.StyleFunction

Callable

StyleFunction<Variants>(config?: StyleConfig<Variants, {}>): Style<Variants> & string

Type parameters:

Name
Variants

Parameters:

NameType
config?StyleConfig<Variants, {}>

Returns: Style<Variants> & string

Defined in: src/style/index.ts:75

StyleFunction<Variants, BaseVariants>(base: Style<BaseVariants>, config?: StyleConfig<Variants, BaseVariants>): Style<BaseVariants & Variants> & string

Type parameters:

Name
Variants
BaseVariants

Parameters:

NameType
baseStyle<BaseVariants>
config?StyleConfig<Variants, BaseVariants>

Returns: Style<BaseVariants & Variants> & string

Defined in: src/style/index.ts:76