dioxus_element_plug/components/
table_column.rs1use dioxus::prelude::*;
2
3#[derive(Props, Clone, PartialEq)]
5pub struct TableColumnProps {
6 #[props(default)]
8 pub label: Option<String>,
9
10 #[props(default)]
12 pub prop: Option<String>,
13
14 #[props(default)]
16 pub width: Option<String>,
17
18 #[props(default)]
20 pub min_width: Option<String>,
21
22 #[props(default)]
24 pub fixed: Option<String>,
25
26 #[props(default = false)]
28 pub sortable: bool,
29
30 #[props(default)]
32 pub column_type: Option<String>,
33
34 #[props(default = true)]
36 pub resizable: bool,
37
38 #[props(default = "left".to_string())]
40 pub align: String,
41
42 #[props(default)]
44 pub header_align: Option<String>,
45
46 #[props(default = false)]
48 pub show_overflow_tooltip: bool,
49
50 #[props(default)]
51 pub class: Option<String>,
52}
53
54#[component]
56#[allow(unused_variables)]
57pub fn TableColumn(props: TableColumnProps) -> Element {
58 rsx! {}
60}