gpui-component/crates
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
..
macros code-editor: Update CodeEditor to support external language. (#928) 2025-06-09 14:27:33 +08:00
story notification: Add support for rendering custom content (#938) 2025-06-10 12:06:02 +08:00
ui notification: Add support for rendering custom content (#938) 2025-06-10 12:06:02 +08:00