mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
## Summary Still a work in progress. Buttons with just icons are already in the stories for button. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7598-WIP-Component-Button-Migration-2-IconButton-2cc6d73d365081c09143c63464ac60b7) by [Unito](https://www.unito.io)
10 lines
226 B
TypeScript
10 lines
226 B
TypeScript
import { clsx } from 'clsx'
|
|
import type { ClassArray } from 'clsx'
|
|
import { twMerge } from 'tailwind-merge'
|
|
|
|
export type { ClassValue } from 'clsx'
|
|
|
|
export function cn(...inputs: ClassArray) {
|
|
return twMerge(clsx(inputs))
|
|
}
|