move width out of sx object

This commit is contained in:
anton.strover
2025-09-01 11:44:10 +01:00
parent fd951bfdd5
commit f01030a47a
@@ -22,11 +22,11 @@ const Bar = ({ width, height, backgroundColor, borderRadius, children }) => {
return (
<Box
width={width}
position="relative"
height={height}
backgroundColor={backgroundColor}
sx={{
width: width,
borderRadius: borderRadius || theme.spacing(1.5),
}}
>