1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use gpui::App; use crate::{ Icon, IconName, Sizable as _, button::{Button, ButtonVariants as _}, }; #[inline] pub(crate) fn clear_button(_: &App) -> Button { Button::new("clean") .icon(Icon::new(IconName::Close)) .text() .xsmall() .tab_stop(false) }