diff --git a/src/web/api.tsx b/src/web/api.tsx index fe1e477..e43f800 100644 --- a/src/web/api.tsx +++ b/src/web/api.tsx @@ -31,7 +31,7 @@ export const styled = < _options?: StyledOptions, ) => { return (props: StyledProps, M>) => { - return useCssElement(baseComponent, mapping, props); + return useCssElement(baseComponent, props, mapping); }; };