Skip to content

Commit

Permalink
fix: export missing Drawer primitives (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbien authored Jan 31, 2024
1 parent b9be07b commit e45199c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/frosted-ui/src/components/drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,23 @@ const Drawer = Object.assign(

export {
Drawer,
DrawerBody,
DrawerClose,
DrawerContent,
DrawerHeader,
DrawerRoot,
DrawerStickyFooter,
DrawerTitle,
DrawerTrigger,
};

export type {
DrawerBodyProps,
DrawerCloseProps,
DrawerContentProps,
DrawerHeaderProps,
DrawerRootProps,
DrawerStickyFooterProps,
DrawerTitleProps,
DrawerTriggerProps,
};
3 changes: 3 additions & 0 deletions packages/frosted-ui/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,12 @@ export {
export * from './dialog.props';
export {
Drawer,
DrawerBody,
DrawerClose,
DrawerContent,
DrawerHeader,
DrawerRoot,
DrawerStickyFooter,
DrawerTitle,
DrawerTrigger,
} from './drawer';
Expand Down

0 comments on commit e45199c

Please # to comment.