Skip to content

Commit

Permalink
feat(DividerLineIcon): add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
troff8 authored and Troff8 committed Jul 10, 2023
1 parent a84ef86 commit d6fecb1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Icon/DividerLineIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import icon from 'teenyicons/outline/divider-line.svg';

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

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

0 comments on commit d6fecb1

Please sign in to comment.