
This PR adds new `Button` and `IconButton` components built on top of our new button abstractions. Both of these buttons are built from the common `ButtonLike` base, and implement the `ButtonCommon` (name TBD) trait in order to provide a common interface. There are still some visual tweaks that we'll need to make to the new buttons, but those should be straightforward to make after we land this. Release Notes: - N/A
12 lines
368 B
Rust
12 lines
368 B
Rust
pub use gpui::prelude::*;
|
|
pub use gpui::{
|
|
div, Element, ElementId, InteractiveElement, ParentElement, RenderOnce, SharedString, Styled,
|
|
ViewContext, WindowContext,
|
|
};
|
|
|
|
pub use crate::clickable::*;
|
|
pub use crate::disableable::*;
|
|
pub use crate::fixed::*;
|
|
pub use crate::selectable::*;
|
|
pub use crate::{ButtonCommon, Color, StyledExt};
|
|
pub use theme::ActiveTheme;
|