Skip to content

Commit fee32a2

Browse files
committed
chore: simplify context-menu imports from native-modules
1 parent db5fce3 commit fee32a2

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

packages/native-modules/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "Native modules for NativeUI Primitives (iOS and Android)",
55
"main": "build/index.js",
66
"react-native": "build/index.native.js",
7-
"types": "build/index.d.ts",
87
"scripts": {
98
"build": "expo-module build",
109
"clean": "expo-module clean",

packages/primitives/src/primitives/context-menu/context-menu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export {
88
ContextMenuSection,
99
ContextMenuContext,
1010
useContextMenu,
11-
} from '@native-ui-org/native-modules/src/context-menu';
11+
} from '@native-ui-org/native-modules';
1212

1313
export type {
1414
ContextMenuProps,
@@ -18,5 +18,5 @@ export type {
1818
ContextMenuSeparatorProps,
1919
ContextMenuSubmenuProps,
2020
ContextMenuSectionProps,
21-
} from '@native-ui-org/native-modules/src/context-menu';
21+
} from '@native-ui-org/native-modules';
2222

packages/primitives/src/primitives/context-menu/context-menu.web.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export {
88
ContextMenuSection,
99
ContextMenuContext,
1010
useContextMenu,
11-
} from '@native-ui-org/native-modules/src/context-menu';
11+
} from '@native-ui-org/native-modules';
1212

1313
export type {
1414
ContextMenuProps,
@@ -18,5 +18,5 @@ export type {
1818
ContextMenuSeparatorProps,
1919
ContextMenuSubmenuProps,
2020
ContextMenuSectionProps,
21-
} from '@native-ui-org/native-modules/src/context-menu';
21+
} from '@native-ui-org/native-modules';
2222

0 commit comments

Comments
 (0)