Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 12x 531x 531x | const DotIcon = ({ isPublished }: { isPublished?: boolean }) => {
if (!isPublished) {
return (
<svg
width="8"
height="8"
viewBox="0 0 8 8"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<circle cx="4" cy="4" r="4" fill="black" fillOpacity="0.25" />
</svg>
);
} else E{
return (
<svg
width="8"
height="8"
viewBox="0 0 8 8"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<circle cx="4" cy="4" r="4" fill="#088750" />
</svg>
);
}
};
export default DotIcon;
|