diff --git a/src/components/Icon/index.tsx b/src/components/Icon/index.tsx index dad66c5..121cf81 100644 --- a/src/components/Icon/index.tsx +++ b/src/components/Icon/index.tsx @@ -38,8 +38,6 @@ function iconProps(props: IconProps): JSX.SvgSVGAttributes { const [sProps, rest] = splitProps(props, ['css', 'class']) return mergeProps(rest, { xmlns: 'http://www.w3.org/2000/svg', - get class() { - return cx(css(iconStyles, sProps.css), sProps.class) - }, + class: cx(css(iconStyles, sProps.css), sProps.class), }) }