canonrs-server 0.1.0

CanonRS server-side rendering support
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// AUTO-GENERATED by build.rs — do not edit manually.
// Source: *_boundary.rs + builder.yaml
use crate::catalog_types::{ComponentApi, PropDef, PropType};

// imports: use canonrs::primitives::{SkeletonVariant}; 

pub const SKELETON_API: ComponentApi = ComponentApi {
    id: "skeleton",
    description: "Loading skeleton placeholder",
    props: &[
        PropDef { name: "variant", kind: PropType::Enum(&["rectangle", "text", "circle"]), required: false, default: Some("rectangle"), description: "Visual variant of the component" },
        PropDef { name: "class", kind: PropType::String, required: false, default: Some(""), description: "Additional CSS class names" },
    ],
};