Skip to content

Commit

Permalink
feat(project): add close icon component
Browse files Browse the repository at this point in the history
  • Loading branch information
RCVZ committed Apr 29, 2021
1 parent d5a72dd commit 54fc326
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/icons/Close.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

import createIcon from './createIcon';

export default createIcon(
'0 0 24 24',
<g>
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
<path d="M0 0h24v24H0z" fill="none" />
</g>,
);
7 changes: 7 additions & 0 deletions src/icons/Icon.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@use '../styles/variables';

.icon {
width: 35px;
height: 35px;
fill: variables.$white;
}

0 comments on commit 54fc326

Please sign in to comment.