-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca7d8cb
commit 8a50da1
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
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,21 @@ | ||
import React, { FC } from 'react'; | ||
import { IIconProps } from '../type'; | ||
import { IconBookmark16 } from './Bookmark16'; | ||
import { IconBookmark24 } from './Bookmark24'; | ||
import { IconBookmark32 } from './Bookmark32'; | ||
|
||
export const IconBookmark: FC<IIconProps> = ({ | ||
size = 16, | ||
color = 'currentColor', | ||
}) => { | ||
switch (size.toString()) { | ||
case '16': | ||
return <IconBookmark16 color={color} />; | ||
case '24': | ||
return <IconBookmark24 color={color} />; | ||
case '32': | ||
return <IconBookmark32 color={color} />; | ||
default: | ||
return <IconBookmark24 size={size} color={color} />; | ||
} | ||
}; |
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