library_components/composables/useMergeClasses.ts
2024-07-05 14:22:31 +02:00

4 lines
153 B
TypeScript

import { twMerge } from 'tailwind-merge';
export const useMergeClasses = (componentClasses: string | string[]): string => twMerge(...componentClasses);