Closed paulrostorp closed 6 months ago
With ts@5.0.4 and dripsy 4.3.3 I get the following error when using variant on a dripsy TextInput:
4.3.3
variant
TextInput
I can force the expected undefined type by doing the following
undefined
variant={"text.title3Emphasis" as unknown as undefined}
it seems like strictVariants: false has no effect
strictVariants: false
I think inputs have their own variants under theme.inputs that’s why.
theme.inputs
did you try using theme.inputs?
With ts@5.0.4 and dripsy![Screenshot 2023-06-01 at 10 38 30](https://github.com/nandorojo/dripsy/assets/1866649/03cbf623-7594-49cd-8d53-70b860eadb66)
4.3.3
I get the following error when usingvariant
on a dripsyTextInput
:I can force the expected
undefined
type by doing the following