gpui-component/crates/story
Floyd Wang c333fd7106
notification: Add support for rendering custom content (#938)
## Break Change
You no longer need to pass a message when creating a new notification.
Instead, use the `message` method.

```diff 
- Notification::new("There was a problem with your request.");
+ Notification::new().message("There was a problem with your request.");
```

<img width="1023" alt="image"
src="https://github.com/user-attachments/assets/4b93f2bb-e130-45d6-974f-8b14efac58a4"
/>
2025-06-10 12:06:02 +08:00
..
examples code-editor: Show hover popover for diagnostics. (#924) 2025-06-09 16:16:15 +08:00
src notification: Add support for rendering custom content (#938) 2025-06-10 12:06:02 +08:00
Cargo.toml code-editor: Update CodeEditor to support external language. (#928) 2025-06-09 14:27:33 +08:00