pub trait ComponentStyle {
// Required methods
fn to_css(&self) -> String;
fn class_name(&self) -> &str;
}Expand description
Base trait for component styles
Required Methods§
Sourcefn class_name(&self) -> &str
fn class_name(&self) -> &str
Get the class name