joe-bell / cva

Class Variance Authority
https://cva.style
Apache License 2.0
5.46k stars 107 forks source link

Null type is adding to the variants #270

Closed webappcoding closed 4 months ago

webappcoding commented 4 months ago

Hey

Please refer this below image

Screenshot 2024-02-24 at 12 54 34 AM

When i am removing the "null" from here

Screenshot 2024-02-24 at 1 02 47 AM

Every thing is working fine as expected

Screenshot 2024-02-24 at 1 01 49 AM
joe-bell commented 4 months ago

Closing as this doesn't correspond to the issue template, null will be removed in cva@1.0, and this is likely a Storybook issue not a cva issue