Trait leptos_core::Prop

source ·
pub trait Prop {
    type Builder;

    fn builder() -> Self::Builder;
}
Expand description

Describes the properties of a component. This is typically generated by the Prop derive macro as part of the #[component] macro.

Required Associated Types§

Builder type, automatically generated.

Required Methods§

The builder should be automatically generated using the Prop derive macro.

Implementors§