Packages
@twind/core › Style
Type parameters
Name |
---|
Variants |
Callable
Style
▸ Style(props?
): string
CSS Class associated with the current component.
Parameters
Name | Type |
---|---|
props? | VariantsProps <Variants > |
Returns
string
Defined in
packages/core/src/style.ts:119
Style
▸ Style(match
): string
To be used as resolve within config.rules:
The first group is used to extract the props using URLSearchParams.
Parameters
Name | Type |
---|---|
match | MatchResult |
Returns
string
Defined in
packages/core/src/style.ts:139
Properties
className
• Readonly
className: string
CSS Class associated with the current component.
Defined in
packages/core/src/style.ts:156
defaults
• Readonly
defaults: VariantsProps
<Variants
>
Defined in
packages/core/src/style.ts:141
selector
• Readonly
selector: string
CSS Selector associated with the current component.