diff --git a/crates/ui/src/button/button.rs b/crates/ui/src/button/button.rs index 80beee9b..04bb6aa6 100644 --- a/crates/ui/src/button/button.rs +++ b/crates/ui/src/button/button.rs @@ -7,8 +7,8 @@ use crate::{ use gpui::{ div, prelude::FluentBuilder as _, px, relative, Action, AnyElement, App, ClickEvent, Corners, Div, Edges, ElementId, Hsla, InteractiveElement, Interactivity, IntoElement, ParentElement, - Pixels, RenderOnce, SharedString, StatefulInteractiveElement as _, StyleRefinement, Styled, - Window, + Pixels, RenderOnce, SharedString, Stateful, StatefulInteractiveElement as _, StyleRefinement, + Styled, Window, }; #[derive(Default, Clone, Copy)] @@ -182,7 +182,7 @@ impl ButtonVariant { #[derive(IntoElement)] pub struct Button { id: ElementId, - base: Div, + base: Stateful