Skip to content

Commit c7547c7

Browse files
committed
Fix cx
1 parent 096b35d commit c7547c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/cx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type FrCxArg =
1313
/** Copy pasted from
1414
* https://github.com/emotion-js/emotion/blob/23f43ab9f24d44219b0b007a00f4ac681fe8712e/packages/react/src/class-names.js#L17-L63
1515
**/
16-
export const cx = (args: FrCxArg[]): string => {
16+
export const cx = (...args: FrCxArg[]): string => {
1717
const len = args.length;
1818
let i = 0;
1919
let cls = "";

0 commit comments

Comments
 (0)