Skip to content

Commit

Permalink
πŸ› fix: simple icon
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Sep 18, 2023
1 parent 8117528 commit 0bb612c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/pages/shields/features/Tabs/index.tsx
@@ -1,4 +1,3 @@
import { SiGithub, SiMarkdown, SiNpm, SiVercel } from '@icons-pack/react-simple-icons';
import { Segmented, SegmentedProps } from 'antd';
import { useTheme } from 'antd-style';
import { memo, useState } from 'react';
Expand All @@ -20,19 +19,19 @@ enum Tab {

const options: SegmentedProps['options'] = [
{
label: <Label icon={SiMarkdown} title={'Custom'} />,
label: <Label title={'Custom'} />,
value: Tab.Custom,
},
{
label: <Label icon={SiGithub} title={'Github'} />,
label: <Label title={'Github'} />,
value: Tab.Github,
},
{
label: <Label icon={SiNpm} title={'NPM'} />,
label: <Label title={'NPM'} />,
value: Tab.Npm,
},
{
label: <Label icon={SiVercel} title={'Vercel'} />,
label: <Label title={'Vercel'} />,
value: Tab.Vercel,
},
];
Expand Down

0 comments on commit 0bb612c

Please sign in to comment.