Skip to content

Commit

Permalink
Add edit & search icons (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Droniu authored Nov 19, 2021
1 parent e8cf6f8 commit 5584fe1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/icons/EditIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { createSvgIcon } from "@material-ui/core/utils";
import React from "react";

export const EditIcon = createSvgIcon(
<path
fillRule="evenodd"
clipRule="evenodd"
d="M20.0445 2.90731C18.8236 1.69756 16.8544 1.69756 15.6336 2.90731L14.7077 3.82479L7.00549 11.4569C6.63843 11.8206 6.41956 12.3074 6.39126 12.8231L6.24246 15.535C6.17315 16.7984 7.23704 17.8317 8.4994 17.7272L11.1564 17.5073C11.646 17.4668 12.1055 17.2551 12.4543 16.9096L21.0739 8.36838C22.3086 7.14491 22.3086 5.15086 21.0739 3.92738L20.0445 2.90731ZM8.47578 12.9372L15.4428 6.03358L17.9544 8.52227L10.984 15.4292L8.32698 15.6492L8.47578 12.9372ZM16.9249 4.56496L19.4365 7.05365L19.6036 6.88805C20.0152 6.48022 20.0152 5.81554 19.6036 5.40772L18.5742 4.38765C18.1672 3.9844 17.5108 3.9844 17.1039 4.38765L16.9249 4.56496ZM5.13147 3.23318C3.40201 3.23318 2 4.63355 2 6.36099V18.8722C2 20.5997 3.40201 22 5.13147 22H17.6573C19.3868 22 20.7888 20.5997 20.7888 18.8722V14.2848C20.7888 13.709 20.3215 13.2422 19.745 13.2422C19.1685 13.2422 18.7012 13.709 18.7012 14.2848V18.8722C18.7012 19.4481 18.2338 19.9148 17.6573 19.9148H5.13147C4.55498 19.9148 4.08765 19.4481 4.08765 18.8722V6.36099C4.08765 5.78518 4.55498 5.31839 5.13147 5.31839H9.72429C10.3008 5.31839 10.7681 4.8516 10.7681 4.27578C10.7681 3.69997 10.3008 3.23318 9.72429 3.23318H5.13147Z"
fill="currentColor"
/>,
"EditIcon"
);
12 changes: 12 additions & 0 deletions src/icons/SearchIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { createSvgIcon } from "@material-ui/core/utils";
import React from "react";

export const SearchIcon = createSvgIcon(
<path
fillRule="evenodd"
clipRule="evenodd"
d="M17 10.5C17 14.0899 14.0899 17 10.5 17C6.91015 17 4 14.0899 4 10.5C4 6.91015 6.91015 4 10.5 4C14.0899 4 17 6.91015 17 10.5ZM15.7618 17.176C14.3145 18.3183 12.4869 19 10.5 19C5.80558 19 2 15.1944 2 10.5C2 5.80558 5.80558 2 10.5 2C15.1944 2 19 5.80558 19 10.5C19 12.4869 18.3183 14.3145 17.176 15.7618L21.7071 20.2929C22.0976 20.6834 22.0976 21.3166 21.7071 21.7071C21.3166 22.0976 20.6834 22.0976 20.2929 21.7071L15.7618 17.176Z"
fill="currentColor"
/>,
"SearchIcon"
);
2 changes: 2 additions & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export * from "./ArrowDropdownIcon";
export * from "./CheckboxIcon";
export * from "./CheckboxCheckedIcon";
export * from "./CheckboxIndeterminateIcon";
export * from "./SearchIcon";
export * from "./EditIcon";

1 comment on commit 5584fe1

@vercel
Copy link

@vercel vercel bot commented on 5584fe1 Nov 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.