basecoat-core 0.2.1

Core types, prop structs, and class-string functions for basecoat-rs
Documentation
1
2
3
4
5
6
7
8
9
use crate::{AttrMap, BasecoatProps};

/// Separator — rendered as `<hr role="separator">`. No CSS class, no variants.
/// Upstream basecoat uses `role="separator"` with CSS that targets that attribute.
#[derive(BasecoatProps, Default, Clone, Debug)]
pub struct SeparatorProps {
    #[prop(extend)]
    pub attrs: AttrMap,
}