unreal
TTCTheo's Typesafe Cult
•Created by unreal on 10/2/2023 in #questions
nextjs font loads on local dev environment, but not on production
1 replies
TTCTheo's Typesafe Cult
•Created by unreal on 9/15/2023 in #questions
shadcn/ui variant typescript error
does anyone know why this is giving me a typescript error (code compiles fine)?
i'm using custom variants of shadcn/ui's badge component like so:
but for some reason it wont accept the dynamic prop as a variant (both when interpolating like this, or when using {category} which is a string.
code works fine whether i interpolate category or not, the typescript intellisense also shows my custom variants as possible options here:
4 replies
TTCTheo's Typesafe Cult
•Created by unreal on 8/16/2023 in #questions
tailwind linter giving me a wrong warning?
12 replies