Skip to content

Commit

Permalink
Fix experimental hooks export
Browse files Browse the repository at this point in the history
  • Loading branch information
iansan5653 authored Sep 17, 2024
1 parent e70fd9e commit 5a9e172
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
22 changes: 3 additions & 19 deletions packages/react/src/__tests__/__snapshots__/exports.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ exports[`@primer/react/experimental should not update exports without a semver c
[
"ActionBar",
"type ActionBarProps",
"type AnchoredPositionHookSettings",
"Announce",
"type AnnounceProps",
"AriaAlert",
Expand Down Expand Up @@ -310,6 +309,7 @@ exports[`@primer/react/experimental should not update exports without a semver c
"SkeletonAvatar",
"SkeletonBox",
"SkeletonText",
"type SlotConfig",
"Stack",
"type StackItemProps",
"type StackProps",
Expand All @@ -329,28 +329,12 @@ exports[`@primer/react/experimental should not update exports without a semver c
"TooltipContext",
"type TooltipDirection",
"type TooltipProps",
"type TouchOrMouseEvent",
"type TriggerPropsType",
"UnderlinePanels",
"type UnderlinePanelsPanelProps",
"type UnderlinePanelsProps",
"type UnderlinePanelsTabProps",
"useAnchoredPosition",
"useId",
"useIsMacOS",
"useMenuInitialFocus",
"useMenuKeyboardNavigation",
"useMnemonics",
"useOnEscapePress",
"useOnOutsideClick",
"type UseOnOutsideClickSettings",
"useOpenAndCloseFocus",
"type UseOpenAndCloseFocusSettings",
"useOverlay",
"type UseOverlaySettings",
"useProvidedRefOrCreate",
"useProvidedStateOrCreate",
"useRefObjectAsForwardedRef",
"useRenderForcingRef",
"useOverflow",
"useSlots",
]
`;
2 changes: 1 addition & 1 deletion packages/react/src/experimental/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export * from '../PageHeader'

export * from '../Hidden'

export * from '../hooks'
export * from './hooks'

export {NavList} from '../NavList'
export type {
Expand Down

0 comments on commit 5a9e172

Please sign in to comment.