lingjing/node_modules/next/dist/next-devtools/dev-overlay/utils/cx.d.ts
2026-02-23 09:51:43 +00:00

8 lines
292 B
TypeScript

/**
* Merge multiple args to a single string with spaces. Useful for merging class names.
* @example
* cx('foo', 'bar') // 'foo bar'
* cx('foo', null, 'bar', undefined, 'baz', false) // 'foo bar baz'
*/
export declare function cx(...args: (string | undefined | null | false)[]): string;