Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export ToastMessages component and relevant types from main entry point #1287

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/components/feedback/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ export { default as Modal } from './Modal';
export { default as ModalDialog } from './ModalDialog';
export { default as Spinner } from './Spinner';
export { default as SpinnerOverlay } from './SpinnerOverlay';
export { default as ToastMessages } from './ToastMessages';

export type { CalloutProps } from './Callout';
export type { DialogProps } from './Dialog';
export type { ModalProps } from './Modal';
export type { ModalDialogProps } from './ModalDialog';
export type { SpinnerProps } from './Spinner';
export type { SpinnerOverlayProps } from './SpinnerOverlay';
export type {
ToastMessagesProps,
ToastMessage,
ToastMessageTransitionClasses,
} from './ToastMessages';
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export {
ModalDialog,
Spinner,
SpinnerOverlay,
ToastMessages,
} from './components/feedback';
export {
Button,
Expand Down Expand Up @@ -97,6 +98,9 @@ export type {
ModalDialogProps,
SpinnerProps,
SpinnerOverlayProps,
ToastMessage,
ToastMessageTransitionClasses,
ToastMessagesProps,
} from './components/feedback';

export type {
Expand Down