Skip to content

Commit

Permalink
feat: Add new icons
Browse files Browse the repository at this point in the history
  • Loading branch information
RabbitDoge committed Nov 17, 2020
1 parent abd1f94 commit 8e6062f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/Svg/Icons/Add.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";
import Svg from "../Svg";
import SvgProps from "../types";

const Icon: React.FC<SvgProps> = (props) => {
return (
<Svg viewBox="0 0 24 24" {...props}>
<path d="M18 13H13V18C13 18.55 12.55 19 12 19C11.45 19 11 18.55 11 18V13H6C5.45 13 5 12.55 5 12C5 11.45 5.45 11 6 11H11V6C11 5.45 11.45 5 12 5C12.55 5 13 5.45 13 6V11H18C18.55 11 19 11.45 19 12C19 12.55 18.55 13 18 13Z" />
</Svg>
);
};

export default Icon;
13 changes: 13 additions & 0 deletions src/components/Svg/Icons/Verified.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";
import Svg from "../Svg";
import SvgProps from "../types";

const Icon: React.FC<SvgProps> = (props) => {
return (
<Svg viewBox="0 0 24 24" {...props}>
<path d="M23 12L20.56 9.21L20.9 5.52L17.29 4.7L15.4 1.5L12 2.96L8.6 1.5L6.71 4.69L3.1 5.5L3.44 9.2L1 12L3.44 14.79L3.1 18.49L6.71 19.31L8.6 22.5L12 21.03L15.4 22.49L17.29 19.3L20.9 18.48L20.56 14.79L23 12ZM9.38 16.01L7 13.61C6.61 13.22 6.61 12.59 7 12.2L7.07 12.13C7.46 11.74 8.1 11.74 8.49 12.13L10.1 13.75L15.25 8.59C15.64 8.2 16.28 8.2 16.67 8.59L16.74 8.66C17.13 9.05 17.13 9.68 16.74 10.07L10.82 16.01C10.41 16.4 9.78 16.4 9.38 16.01Z" />
</Svg>
);
};

export default Icon;
2 changes: 2 additions & 0 deletions src/components/Svg/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { default as AddIcon } from "./Icons/Add";
export { default as BlockIcon } from "./Icons/Block";
export { default as CheckmarkIcon } from "./Icons/Checkmark";
export { default as ChevronDownIcon } from "./Icons/ChevronDown";
Expand All @@ -12,5 +13,6 @@ export { default as OpenNewIcon } from "./Icons/OpenNew";
export { default as PancakesIcon } from "./Icons/Pancakes";
export { default as PancakeRoundIcon } from "./Icons/PancakeRound";
export { default as RemoveIcon } from "./Icons/Remove";
export { default as VerifiedIcon } from "./Icons/Verified";

export { default as Svg } from "./Svg";

0 comments on commit 8e6062f

Please sign in to comment.