Skip to content

Commit

Permalink
Add link to OverlayToaster examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gluxon committed Dec 18, 2023
1 parent 9bdf637 commit 4779ba2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/core/src/common/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,12 @@ export const SPINNER_WARN_CLASSES_SIZE = ns + ` <Spinner> Classes.SMALL/LARGE ar
export const TOASTER_CREATE_NULL =
ns +
` OverlayToaster.create() is not supported inside React lifecycle methods in React 16.` +
` See usage example on the docs site.`;
` See usage example on the docs site. https://blueprintjs.com/docs/#core/components/toast.example`;
export const TOASTER_CREATE_ASYNC_NULL =
ns +
` OverlayToaster.createAsync() received a null component ref. This can happen if called inside React lifecycle ` +
`methods in React 16. See usage example on the docs site.`;
`methods in React 16. See usage example on the docs site. ` +
`https://blueprintjs.com/docs/#core/components/toast.example`;
export const TOASTER_MAX_TOASTS_INVALID =
ns + ` <OverlayToaster> maxToasts is set to an invalid number, must be greater than 0`;
export const TOASTER_WARN_INLINE =
Expand Down

0 comments on commit 4779ba2

Please sign in to comment.