tailwindcss-radix icon indicating copy to clipboard operation
tailwindcss-radix copied to clipboard

How to use with ESM and variantPrefix?

Open arkmech opened this issue 1 year ago • 1 comments

import tailwindRadix from 'tailwindcss-radix';

tailwind.config.ts

  plugins: [
    tailwindRadix,
  ],

I am not sure how to specify variantPrefix with esm import.

arkmech avatar Jan 01 '24 12:01 arkmech

This works:

    tailwindRadix({ variantPrefix: 'rdx' }),

but....I get: this TS issue: This expression is not callable. Type '{ handler: (helpers: Helpers) => void; }' has no call signatures.

arkmech avatar Jan 01 '24 18:01 arkmech

Should be fixed in 2.9.0

ecklf avatar Mar 22 '24 16:03 ecklf