mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-04-25 02:18:21 -05:00
move width out of sx object
This commit is contained in:
@@ -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),
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user