mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-08-07 10:53:23 +00:00
23 lines
650 B
TypeScript
23 lines
650 B
TypeScript
type Props = {
|
|
variant: "primary" | "default";
|
|
};
|
|
|
|
export function SuccessCheckIcon({ variant }: Props) {
|
|
const color = variant === "primary" ? "#1FC16B" : "#444444";
|
|
|
|
return (
|
|
<svg
|
|
data-testid="icon-success"
|
|
width="16"
|
|
height="16"
|
|
viewBox="0 0 16 16"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg">
|
|
<path
|
|
d="M8 15.5C3.85775 15.5 0.5 12.1423 0.5 8C0.5 3.85775 3.85775 0.5 8 0.5C12.1423 0.5 15.5 3.85775 15.5 8C15.5 12.1423 12.1423 15.5 8 15.5ZM7.25225 11L12.5548 5.69675L11.4943 4.63625L7.25225 8.879L5.1305 6.75725L4.07 7.81775L7.25225 11Z"
|
|
fill={color}
|
|
/>
|
|
</svg>
|
|
);
|
|
}
|