Skip to content

Commit 5a49eda

Browse files
committed
react-native(Toast): stop exporting nested ToastCloseButtonProps from entrypoints to keep API surface minimal
1 parent df6e57a commit 5a49eda

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

packages/design-system-react-native/src/components/Toast/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export type {
44
ToastOptions,
55
ToastProps,
66
ToastRef,
7-
ToastCloseButtonProps,
87
} from './Toast.types';
98
export {
109
TOAST_VISIBILITY_DURATION,

packages/design-system-react-native/src/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ export type {
218218
ToastOptions,
219219
ToastProps,
220220
ToastRef,
221-
ToastCloseButtonProps,
222221
} from './Toast';
223222

224223
export { ButtonHero, ButtonHeroSize } from './ButtonHero';

0 commit comments

Comments
 (0)