File size: 485 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import { createComponent } from "./create-component"
export const BadgeAnatomy = 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={129} y={129} width={141} height={41} rx={10} fill={palette[3]} />
<rect x={158} y={146} width={84} height={8} fill={palette[15]} />
</svg>
)
})
|