core: implement fluent builder for data builders
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use gpui::prelude::FluentBuilder as _;
|
||||
use gpui::prelude::FluentBuilder;
|
||||
use gpui::{
|
||||
App, ElementId, InteractiveElement as _, IntoElement, ParentElement as _, RenderOnce, Role,
|
||||
SharedString, StatefulInteractiveElement as _, Styled as _, Toggled, Window, div,
|
||||
@@ -67,6 +67,9 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
// Radio is a data builder, not an element, adopt the combinators explicitly.
|
||||
impl<V> FluentBuilder for Radio<V> {}
|
||||
|
||||
/// Group of radio buttons.
|
||||
#[derive(IntoElement)]
|
||||
#[must_use]
|
||||
|
||||
Reference in New Issue
Block a user