added trash icon

This commit is contained in:
ari committed 2021-12-16 15:28:18 -05:00
1 parent 40db8d41d7
commit 49bb35717f
7 files changed
+73 -18

No files matched your search

@@ -1,7 +1,7 @@
import { ComponentStory } from "@storybook/react";
import { usePageTheme } from "styles/page";
import { IconBase } from "./base";
import { PencilIcon, CheckMarkIcon } from ".";
import { PencilIcon, CheckMarkIcon, TrashIcon } from ".";
import { AddIcon } from './index';
export default {
@@ -16,6 +16,7 @@ export const IconList: ComponentStory<typeof IconBase> = (args) => {
<PencilIcon {...args} />
<CheckMarkIcon {...args} />
<AddIcon {...args} />
<TrashIcon {...args} />
</div>
}
IconList.args = {
+4
View File
@@ -29,3 +29,7 @@ export const AddIcon: FC<IconBaseProps> = props => <IconBase {...props} viewBox=
c5.774-0.001,10.454-4.682,10.456-10.456l0.008-56.126l56.106-0.009c5.774-0.001,10.454-4.682,10.455-10.457l0.008-54.213
c0-2.773-1.103-5.434-3.064-7.396C247.592,112.022,244.932,110.922,242.158,110.922z"/>
</IconBase>
export const TrashIcon: FC<IconBaseProps> = props => <IconBase {...props} viewBox="0 0 24 24"><path d="M 10 2 L 9 3 L 4 3 L 4 5 L 5 5 L 5 20 C 5 20.522222 5.1913289 21.05461 5.5683594 21.431641 C 5.9453899 21.808671 6.4777778 22 7 22 L 17 22 C 17.522222 22 18.05461 21.808671 18.431641 21.431641 C 18.808671 21.05461 19 20.522222 19 20 L 19 5 L 20 5 L 20 3 L 15 3 L 14 2 L 10 2 z M 7 5 L 17 5 L 17 20 L 7 20 L 7 5 z M 9 7 L 9 18 L 11 18 L 11 7 L 9 7 z M 13 7 L 13 18 L 15 18 L 15 7 L 13 7 z" />
</IconBase>