Remove hacky children
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
use std::any::Any;
|
||||
|
||||
use gpui3::{AnyElement, ViewContext};
|
||||
|
||||
pub type HackyChildren<S> = fn(&mut ViewContext<S>, &dyn Any) -> Vec<AnyElement<S>>;
|
||||
|
||||
pub type HackyChildrenPayload = Box<dyn Any + Send + Sync>;
|
||||
@@ -1,6 +1,5 @@
|
||||
#![allow(dead_code, unused_variables)]
|
||||
|
||||
mod children;
|
||||
mod components;
|
||||
mod element_ext;
|
||||
mod elements;
|
||||
@@ -8,7 +7,6 @@ pub mod prelude;
|
||||
mod static_data;
|
||||
mod theme;
|
||||
|
||||
pub use children::*;
|
||||
pub use components::*;
|
||||
pub use element_ext::*;
|
||||
pub use elements::*;
|
||||
|
||||
@@ -3,7 +3,7 @@ pub use gpui3::{
|
||||
WindowContext,
|
||||
};
|
||||
|
||||
pub use crate::{theme, ButtonVariant, ElementExt, HackyChildren, HackyChildrenPayload, Theme};
|
||||
pub use crate::{theme, ButtonVariant, ElementExt, Theme};
|
||||
|
||||
use gpui3::{hsla, rems, rgb, AbsoluteLength, Hsla};
|
||||
use strum::EnumIter;
|
||||
|
||||
Reference in New Issue
Block a user