generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from nebula-aac/group-remove
[svg] grouped `remove` icons and added `svg` file for `remove`
- Loading branch information
Showing
5 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
9 changes: 7 additions & 2 deletions
9
packages/svg/src/icons/RemoveDoneIcon.tsx → ...s/svg/src/icons/Remove/RemoveDoneIcon.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { FC } from 'react'; | ||
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; | ||
import { IconProps } from '../types'; | ||
|
||
export const RemoveIcon: FC<IconProps> = ({ | ||
width = DEFAULT_WIDTH, | ||
height = DEFAULT_HEIGHT, | ||
...props | ||
}) => { | ||
return ( | ||
<svg | ||
width={width} | ||
height={height} | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 -960 960 960" | ||
{...props} | ||
> | ||
<path d="M200-440v-80h560v80H200Z" /> | ||
</svg> | ||
); | ||
}; | ||
|
||
export default RemoveIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { default as RemoveDoneIcon } from './RemoveDoneIcon'; | ||
export { default as RemoveIcon } from './RemoveIcon'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters