move width out of sx object
This commit is contained in:
1 parent
fd951bfdd5
commit
f01030a47a
1 file changed
+1
-1
@@ -22,11 +22,11 @@ const Bar = ({ width, height, backgroundColor, borderRadius, children }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
|
width={width}
|
||||||
position="relative"
|
position="relative"
|
||||||
height={height}
|
height={height}
|
||||||
backgroundColor={backgroundColor}
|
backgroundColor={backgroundColor}
|
||||||
sx={{
|
sx={{
|
||||||
width: width,
|
|
||||||
borderRadius: borderRadius || theme.spacing(1.5),
|
borderRadius: borderRadius || theme.spacing(1.5),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user