Packages
@twind/core › PropsOf
@twind/core.PropsOf
Ƭ PropsOf<T
>: T
extends Style
<infer Variants> ? { [key in keyof Variants]: MorphVariant<keyof Variants[key]> } : never
Allows to extract the supported properties of a style function.
Here is an example for react
Type parameters
Name |
---|
T |