Skip to content

Commit

Permalink
Updated avatar imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimck committed Feb 5, 2024
1 parent 2460643 commit 307fccc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions packages/ui/src/components/avatar/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export { AvatarFallback as Fallback } from './AvatarFallback';
export { AvatarImage as Image } from './AvatarImage';
export { Root } from '@radix-ui/react-avatar';
4 changes: 1 addition & 3 deletions packages/ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@ export { Slot } from '@radix-ui/react-slot';
export { Button } from './components/button/Button';

// Avatar
export * as AvatarPrimitives from '@radix-ui/react-avatar';
export * as AvatarPrimitives from './components/avatar';
export { Avatar } from './components/avatar/Avatar';
export { AvatarFallback } from './components/avatar/AvatarFallback';
export { AvatarImage } from './components/avatar/AvatarImage';

0 comments on commit 307fccc

Please sign in to comment.