Variant
Learn more about Variant syntax
Using variants, you can switch between predefined style keys for a component via properties.
In the passing "white" | "pink" | "green" to the color property, the corresponding styles will be applied to the Button.
Example
The type of the property must be returned by the create method using keyof typeof.
eg: color: keyof typeof styles.