Add Disableable trait (#3439)

This PR adds a new `Disableable` trait to use for elements that are
capable of being disabled.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-11-29 13:01:26 -05:00 committed by GitHub
parent c23a610d52
commit 3e2c517dd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 27 additions and 16 deletions

View file

@ -1,9 +1,11 @@
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::StyledExt;