Skip to content

Commit

Permalink
fix: add icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrin-kudryash committed Jul 10, 2023
1 parent 4f68662 commit fa4fb44
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Icon/AddSmallIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import icon from 'teenyicons/outline/add-small.svg';

import { BaseIcon, BaseIconProps } from './BaseIcon';

export const AddSmallIcon = React.forwardRef<HTMLSpanElement, Omit<BaseIconProps, 'value'>>((props, ref) => (
<BaseIcon value={icon} ref={ref} {...props} />
));
8 changes: 8 additions & 0 deletions src/components/Icon/PinAltIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import icon from 'teenyicons/outline/pin-alt.svg';

import { BaseIcon, BaseIconProps } from './BaseIcon';

export const PinAltIcon = React.forwardRef<HTMLSpanElement, Omit<BaseIconProps, 'value'>>((props, ref) => (
<BaseIcon value={icon} ref={ref} {...props} />
));
2 changes: 2 additions & 0 deletions src/components/Icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ export * from './EnvelopeIcon';
export * from './GitLabIcon';
export * from './GitHubIcon';
export * from './TelegramIcon';
export * from './PinAltIcon';
export * from './AddSmallIcon';

0 comments on commit fa4fb44

Please sign in to comment.