use crateScreen;
use Result;
use Event;
use *;
/// Action that a component can return after handling an event
/// Trait for all UI components
///
/// Components are self-contained UI elements that:
/// - Manage their own state
/// - Handle their own events
/// - Render themselves
/// - Return actions for the app to handle