Skip to content

Commit 09f2b3c

Browse files
committed
style: code cleaning
1 parent 60d90e9 commit 09f2b3c

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/components/Avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import classNames from 'classnames';
2-
import React, { PropsWithChildren, ReactChildren } from 'react';
2+
import React, { PropsWithChildren } from 'react';
33

44
export type AvatarProps = PropsWithChildren<{
55
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';

src/pages/AvatarPage.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { FC } from 'react';
2-
import { HiEye, HiInformationCircle } from 'react-icons/hi';
32

43
import { Avatar } from '../components';
54
import { CodeExample, DemoPage } from './DemoPage';
@@ -53,10 +52,6 @@ const AvatarPage: FC = () => {
5352
</div>
5453
),
5554
},
56-
{
57-
title: 'Stacked',
58-
code: <Avatar />,
59-
},
6055
{
6156
title: 'Avatar text',
6257
code: (
@@ -68,10 +63,6 @@ const AvatarPage: FC = () => {
6863
</Avatar>
6964
),
7065
},
71-
{
72-
title: 'User dropdown',
73-
code: <Avatar />,
74-
},
7566
{
7667
title: 'Sizing',
7768
code: (

0 commit comments

Comments
 (0)