Skip to content

Commit

Permalink
chore: export prop/emit types
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Mar 2, 2024
1 parent 6b778ee commit 7046054
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions packages/vaul-vue/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
import {
DialogClose as DrawerClose,
DialogDescription as DrawerDescription,
DialogPortal as DrawerPortal,
DialogTitle as DrawerTitle,
DialogTrigger as DrawerTrigger,
} from 'radix-vue'
import DrawerRoot from './DrawerRoot.vue'
import DrawerRootNested from './DrawerRootNested.vue'
import DrawerOverlay from './DrawerOverlay.vue'
import DrawerContent from './DrawerContent.vue'

export type {
DrawerRootEmits,
DrawerRootProps,
} from './controls'

export {
DrawerTitle,
DrawerDescription,
DrawerTrigger,
DrawerPortal,
DrawerClose,
DrawerRoot,
DrawerRootNested,
DrawerOverlay,
DrawerContent,
}

export {
DialogClose as DrawerClose,
type DialogCloseProps as DrawerCloseProps,

DialogDescription as DrawerDescription,
type DialogDescriptionProps as DrawerDescriptionProps,

DialogPortal as DrawerPortal,
type DialogPortalProps as DrawerPortalProps,

DialogTitle as DrawerTitle,
type DialogTitleProps as DrawerTitleProps,

DialogTrigger as DrawerTrigger,
type DialogTriggerProps as DrawerTriggerProps,
} from 'radix-vue'

0 comments on commit 7046054

Please sign in to comment.