Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettbear committed Jul 21, 2023
1 parent c829c6b commit 763dc3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import {
} from '../../../helpers/constants/design-system';
import type { PolymorphicRef } from '../box';
import { AvatarBase, AvatarBaseProps } from '../avatar-base';
import type { AvatarNetworkComponent } from './avatar-network.types';
import { AvatarNetworkProps, AvatarNetworkSize } from './avatar-network.types';

export const AvatarNetwork = React.forwardRef(
export const AvatarNetwork: AvatarNetworkComponent = React.forwardRef(
<C extends React.ElementType = 'div'>(
{
size = AvatarNetworkSize.Md,
Expand Down Expand Up @@ -87,5 +88,3 @@ export const AvatarNetwork = React.forwardRef(
);
},
);

AvatarNetwork.displayName = 'AvatarNetwork';
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { PolymorphicComponentPropWithRef } from '../box';
import type { AvatarBaseStyleUtilityProps } from '../avatar-base/avatar-base.types';
import { AvatarBaseSize } from '../avatar-base/avatar-base.types';

export enum AvatarNetworkSize {
Xs = 'xs',
Expand Down

0 comments on commit 763dc3d

Please sign in to comment.