gluestack

gluestack Logogluestack

Is it normal for extend prop not work on tva utils?

yzxtechies287 posted this in #support
Open in Discord
Avatar
yzxtechies287OP
I try the tva and found out the extend props is not work as the same prop in tailwind-variants
It will not merge the extend style to the existing style

Expected output: "data-[checked=true]:text-primary data-[hover=true]:text-typography-900 data-[active=true]:text-primary data-[active=true]:data-[checked=true]:text-typography-900 text-[#112138] web:select-none data-[hover=true]:data-[disabled=true]:text-[#A4B0C0] data-[hover=true]:data-[disabled=true]:data-[checked=true]:text-[#A4B0C0] data-[disabled=true]:text-[#A4B0C0] text-lg font-poppins"

Actual output: "data-[checked=true]:text-primary data-[hover=true]:text-typography-900 data-[active=true]:text-primary data-[active=true]:data-[checked=true]:text-typography-900 text-[#112138] web:select-none data-[hover=true]:data-[disabled=true]:text-[#A4B0C0] data-[hover=true]:data-[disabled=true]:data-[checked=true]:text-[#A4B0C0] data-[disabled=true]:text-[#A4B0C0]"

1 Reply