mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 10:03:31 +00:00
11 lines
255 B
TypeScript
11 lines
255 B
TypeScript
import { twMerge, ClassNameValue } from 'tailwind-merge';
|
|
|
|
export type { ClassNameValue as ClassValue };
|
|
|
|
/**
|
|
* Create a tailwind className for a component.
|
|
*/
|
|
export function tcls(...values: ClassNameValue[]): string {
|
|
return twMerge(...values);
|
|
}
|