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