Files
grungnet/src/icons/AddIcon.tsx
2021-05-27 16:21:21 +10:00

19 lines
586 B
TypeScript

function AddIcon({ large }: { large: boolean }) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
height={large ? "32" : "24"}
viewBox="0 0 24 24"
width={large ? "32" : "24"}
fill="currentcolor"
>
<path d="M0 0h24v24H0V0z" fill="none" />
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4 11h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1z" />
</svg>
);
}
AddIcon.defaultProps = { large: false };
export default AddIcon;