use super::command::Command;
use crate::style::Color;
use crate::utils::Selection;
use crate::widget::traits::WidgetProps;
pub struct CommandPalette {
pub commands: Vec<Command>,
pub query: String,
pub filtered: Vec<usize>,
pub selection: Selection,
pub visible: bool,
pub width: u16,
pub max_visible: u16,
pub placeholder: String,
pub title: Option<String>,
pub show_descriptions: bool,
pub show_shortcuts: bool,
pub show_icons: bool,
pub bg_color: Color,
pub border_color: Color,
pub selected_bg: Color,
pub match_color: Color,
pub props: WidgetProps,
}