Organize design system under ui

This commit is contained in:
Nate Butler 2023-09-15 16:34:56 -04:00
parent d6f24feb4a
commit 9f2a9d43b1
17 changed files with 43 additions and 429 deletions

View file

@ -4,22 +4,6 @@ use gpui2::{
};
use std::{marker::PhantomData, rc::Rc};
mod avatar;
mod icon_button;
mod tab;
mod text_button;
mod tool_divider;
pub use avatar::avatar;
pub use avatar::Avatar;
pub use icon_button::icon_button;
pub use tab::tab;
pub use tab::Tab;
pub use text_button::text_button;
pub use text_button::TextButton;
pub use tool_divider::tool_divider;
pub use tool_divider::ToolDivider;
struct ButtonHandlers<V, D> {
click: Option<Rc<dyn Fn(&mut V, &D, &mut EventContext<V>)>>,
}