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