Skip to content

Commit

Permalink
feat: expose createContext utility
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Feb 12, 2024
1 parent 103c4c8 commit 7907695
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/radix-vue/constant/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,5 +310,6 @@ export const utilities = {
'useStateMachine',
'useBodyScrollLock',
'withDefault',
'createContext',
],
}
12 changes: 11 additions & 1 deletion packages/radix-vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,14 @@ export * from './Tooltip'
// utilities
export { Primitive, Slot, type PrimitiveProps } from './Primitive'
export { VisuallyHidden, type VisuallyHiddenProps } from './VisuallyHidden'
export { useEmitAsProps, useForwardProps, useForwardPropsEmits, useForwardExpose, useId, useStateMachine, useBodyScrollLock, withDefault } from './shared'
export {
useEmitAsProps,
useForwardProps,
useForwardPropsEmits,
useForwardExpose,
useId,
useStateMachine,
useBodyScrollLock,
withDefault,
createContext,
} from './shared'

0 comments on commit 7907695

Please sign in to comment.