Open ApplePieGiraffe opened 1 month ago
extend takes string not a tv() object
Hi @ApplePieGiraffe @ian-os for now, the temporary fix is to change the array to a string, and will look into this issue 🤔
@tianenpang Changing main
value from "main": "dist/index.cjs"
to "main": "dist/index.js"
in package.json
seems to resolve this issue. :thinking: .
Describe the bug I'm using an array to pass class names into
tailwind-variants
If I extend those styles and use an array to pass class names into the extended styles
Neither the original or extended styles get applied to the element. Instead the dev tools show
To Reproduce See this Codesandbox
Expected behavior The extended styles should override the original styles and be applied to the element