Skip to content
Open
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
2 changes: 2 additions & 0 deletions site/pages/docs/styling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ You can style your notifications globally with the `toastOptions` inside the Toa
/>
```

Note that toasts have a default maximum width. If your message is cut off (e.g., when printing a large error message), you can set the `maxWidth` property in `style`, or, alternatively, add `wordBreak: 'break-all'`, to display more content.

### Set default for specific types

```jsx
Expand Down