.
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user