joe-bell / cva

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

Null type is adding to the variants #270

Closed webappcoding closed 8 months ago

webappcoding commented 8 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 8 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