Skip to content

Commit 2119a61

Browse files
authored
fix: re-export remaining types needed by dh ui from @react-types/shared (#2132)
Resolves #2084 **Steps Moving Forward:** - Once this PR has merged, will go into plugins repo and use the re-exported types, and remove @react-types/shared dependency (in order to further eliminate spectrum dependency)
1 parent 0ae07eb commit 2119a61

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/components/src/spectrum/shared.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ import type {
1515
} from '@react-types/shared';
1616

1717
export { Item } from '@adobe/react-spectrum';
18-
export type { ItemProps } from '@react-types/shared';
18+
export type {
19+
ItemProps,
20+
Orientation,
21+
PressEvent,
22+
SelectionMode,
23+
} from '@react-types/shared';
1924

2025
/*
2126
* We support primitive values as shorthand for `Item` elements in certain

0 commit comments

Comments
 (0)