You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! I'm wondering if there's a TypeScript-friendly solution to pass multiple class names to the className prop. Since className type is string, it throws a TypeScript error TypeScript string is not assignable to type string[] when I pass names using an array, for example:
className={[style.container, style.grid]}
Is there another way I can be doing this? Thank you for your help!