ecklf/tailwindcss-radix

How to use with ESM and variantPrefix?

arkmech opened this issue · 2 comments

import tailwindRadix from 'tailwindcss-radix';

tailwind.config.ts

  plugins: [
    tailwindRadix,
  ],

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

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.

Should be fixed in 2.9.0