library_components/composables/useMergeClasses.ts

4 lines
153 B
TypeScript
Raw Normal View History

2024-07-05 12:22:31 +00:00
import { twMerge } from 'tailwind-merge';
export const useMergeClasses = (componentClasses: string | string[]): string => twMerge(...componentClasses);