Skip to content

Commit

Permalink
feat: pencil 아이콘 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hae-on committed Aug 11, 2023
1 parent d17e128 commit 0c0f488
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/.storybook/preview-body.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,10 @@
<symbol id="plus" viewBox="0 0 24 24">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z" />
</symbol>
<symbol viewBox="0 0 24 24" id="pencil">
<path
d="m19.3 8.925l-4.25-4.2l1.4-1.4q.575-.575 1.413-.575t1.412.575l1.4 1.4q.575.575.6 1.388t-.55 1.387L19.3 8.925ZM17.85 10.4L7.25 21H3v-4.25l10.6-10.6l4.25 4.25Z"
/>
</symbol>
</svg>
</div>
1 change: 1 addition & 0 deletions frontend/src/components/Common/Svg/SvgIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const SVG_ICON_VARIANTS = [
'close',
'triangle',
'plus',
'pencil',
] as const;
export type SvgIconVariant = (typeof SVG_ICON_VARIANTS)[number];

Expand Down
3 changes: 3 additions & 0 deletions frontend/src/components/Common/Svg/SvgSprite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ const SvgSprite = () => {
<symbol id="plus" viewBox="0 0 24 24">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z" />
</symbol>
<symbol viewBox="0 0 24 24" id="pencil">
<path d="m19.3 8.925l-4.25-4.2l1.4-1.4q.575-.575 1.413-.575t1.412.575l1.4 1.4q.575.575.6 1.388t-.55 1.387L19.3 8.925ZM17.85 10.4L7.25 21H3v-4.25l10.6-10.6l4.25 4.25Z" />
</symbol>
</svg>
);
};
Expand Down

0 comments on commit 0c0f488

Please sign in to comment.