Interface: StyleFunction
twind/style.StyleFunction
Callable
▸ StyleFunction<Variants>(config?
: StyleConfig<Variants, {}>): Style<Variants> & string
Type parameters:
Name |
---|
Variants |
Parameters:
Name | Type |
---|---|
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:
Name | Type |
---|---|
base | Style<BaseVariants> |
config? | StyleConfig<Variants, BaseVariants> |
Returns: Style<BaseVariants & Variants> & string
Defined in: src/style/index.ts:76