1
2
3
4
5
6
7
8
9
10
11
12
13
14
use gpui::SharedString;

use crate::Icon;

#[derive(Debug, Clone)]
/// A slot utility that provides a way to to pass either
/// an icon or an image to a component.
///
/// Can be filled with a []
pub enum GraphicSlot {
    Icon(Icon),
    Avatar(SharedString),
    PublicActor(SharedString),
}