Skip to content

Commit 49626f1

Browse files
fix: correct parameter order in function call (#227)
1 parent 1778f3c commit 49626f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/web/api.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const styled = <
3131
_options?: StyledOptions,
3232
) => {
3333
return (props: StyledProps<ComponentPropsWithRef<C>, M>) => {
34-
return useCssElement(baseComponent, mapping, props);
34+
return useCssElement(baseComponent, props, mapping);
3535
};
3636
};
3737

0 commit comments

Comments
 (0)