We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096b35d commit c7547c7Copy full SHA for c7547c7
src/lib/cx.ts
@@ -13,7 +13,7 @@ export type FrCxArg =
13
/** Copy pasted from
14
* https://github.com/emotion-js/emotion/blob/23f43ab9f24d44219b0b007a00f4ac681fe8712e/packages/react/src/class-names.js#L17-L63
15
**/
16
-export const cx = (args: FrCxArg[]): string => {
+export const cx = (...args: FrCxArg[]): string => {
17
const len = args.length;
18
let i = 0;
19
let cls = "";
0 commit comments