library_components/composables/useMergeClasses.ts
2024-07-09 11:00:50 +02:00

4 lines
153 B
TypeScript

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