Skip to content

Commit

Permalink
refactor(icons): 🍱 add Delete Icon, fix Add icon sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik-B-06 committed Jun 21, 2022
1 parent 8b7b50c commit 08c012f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/icons/Add.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { IconProps } from "../utils/types";

export const Add: React.FC<IconProps> = ({ fill = "#525252" }) => {
return (
<Svg width="12" height="12" viewBox="0 0 12 12" fill="none">
<Svg width="100%" height="100%" viewBox="0 0 12 12" fill="none">
<Path
fillRule="evenodd"
clipRule="evenodd"
Expand Down
17 changes: 17 additions & 0 deletions src/icons/Delete.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react";
import Svg, { Path } from "react-native-svg";

import { IconProps } from "../utils/types";

export const Delete: React.FC<IconProps> = ({ fill = "#525252" }) => {
return (
<Svg width="100%" height="100%" viewBox="0 0 12 12" fill="none">
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M4.65 0.199219C4.29101 0.199219 4 0.490234 4 0.849219C4 1.2082 4.29101 1.49922 4.65 1.49922H7.35C7.70899 1.49922 8 1.2082 8 0.849219C8 0.490234 7.70899 0.199219 7.35 0.199219H4.65ZM0 2.84922C0 2.49023 0.291015 2.19922 0.65 2.19922H11.35C11.709 2.19922 12 2.49023 12 2.84922C12 3.2082 11.709 3.49922 11.35 3.49922H0.65C0.291015 3.49922 0 3.2082 0 2.84922ZM2.65 4.99922C2.65 4.64023 2.35898 4.34922 2 4.34922C1.64101 4.34922 1.35 4.64023 1.35 4.99922V8.99922C1.35 10.4628 2.53645 11.6492 4 11.6492H8C9.46355 11.6492 10.65 10.4628 10.65 8.99922V4.99922C10.65 4.64023 10.359 4.34922 10 4.34922C9.64102 4.34922 9.35 4.64023 9.35 4.99922V8.99922C9.35 9.7448 8.74558 10.3492 8 10.3492H4C3.25442 10.3492 2.65 9.7448 2.65 8.99922V4.99922ZM6.65 4.99922C6.65 4.64023 6.35898 4.34922 6 4.34922C5.64102 4.34922 5.35 4.64023 5.35 4.99922V7.49922C5.35 7.8582 5.64102 8.14922 6 8.14922C6.35898 8.14922 6.65 7.8582 6.65 7.49922V4.99922Z"
fill={fill}
/>
</Svg>
);
};
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export * from "./Close";
export * from "./CloseSmall";
export * from "./Dash";
export * from "./DefaultUser";
export * from "./Delete";
export * from "./Equals";
export * from "./FastBackward";
export * from "./FastForward";
Expand Down

0 comments on commit 08c012f

Please sign in to comment.