Skip to content

Commit

Permalink
fix: add IconBookmark
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadPCh committed Jun 26, 2024
1 parent ca7d8cb commit 8a50da1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/components/icons/Bookmark/Bookmark.tsx
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} />;
}
};
4 changes: 4 additions & 0 deletions src/components/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ export * from './Backward/Backward';
export * from './Backward/Backward16';
export * from './Backward/Backward24';
export * from './Backward/Backward32';
export * from './Bookmark/Bookmark';
export * from './Bookmark/Bookmark16';
export * from './Bookmark/Bookmark24';
export * from './Bookmark/Bookmark32';
export * from './BookmarkFilled/BookmarkFilled';
export * from './BookmarkFilled/BookmarkFilled16';
export * from './BookmarkFilled/BookmarkFilled24';
Expand Down

0 comments on commit 8a50da1

Please sign in to comment.