Rect fill color doesn't work
Author: ybyqzxlCreated Sep 6, 2022Updated Dec 21, 2022
What did you do?
fill color doesn't work
code:
<ContentLoader
speed={2}
width={'100%'}
height={148}
backgroundColor="#f3f3f3"
foregroundColor="#ecebeb"
>
<Rect
x="275"
y="100"
rx="18"
ry="18"
width="120"
height="36"
fill="#FFE9EC"
/>
<Rect
x="148"
y="112"
rx="4"
ry="4"
width="80"
height="24"
fill="#FFE9EC"
/>
<Rect
x="151"
y="73"
rx="3"
ry="3"
width="182"
height="15"
fill="#F5F3F3"
/>
<Rect
x="151"
y="53"
rx="3"
ry="3"
width="182"
height="15"
fill="#F5F3F3"
/>
<Rect
x="151"
y="12"
rx="3"
ry="3"
width="244"
height="17"
fill="#F5F3F3"
/>
<Rect
x="19"
y="12"
rx="4"
ry="4"
width="124"
height="124"
fill="#F5F3F3"
/>
<Rect
x="151"
y="31"
rx="3"
ry="3"
width="244"
height="17"
fill="#F5F3F3"
/>
</ContentLoader>What did you expect to happen?
wan't fill color work well
Source: danilowoz/react-content-loader