use std::rc::Rc; use gpui::{ App, ElementId, FontWeight, InteractiveElement, IntoElement, MouseButton, ParentElement, RenderOnce, SharedString, StatefulInteractiveElement, Styled, Window, div, prelude::*, }; use super::{ Button, button::{Slot, label_size}, }; use crate::{ i18n, primitives::{FocusRing, Icon, IconName, Tooltip}, theme::{ActiveTheme, ControlSize, Radius}, }; /// Buttons joined edge to edge. #[derive(IntoElement, Default)] pub struct ButtonGroup { buttons: Vec