File size: 626 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
import { createComponent } from "./create-component"
export const ProgressAnatomy = createComponent((props) => {
const { palette, ...rest } = props
return (
<svg
width={400}
height={300}
viewBox="0 0 400 300"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<rect x={101} y={126} width={198} height={11} fill={palette[2]} />
<rect x={101} y={126} width={166} height={11} fill={palette[3]} />
<rect x={101} y={163} width={198} height={11} fill={palette[2]} />
<rect x={101} y={163} width={67} height={11} fill={palette[3]} />
</svg>
)
})
|