Skip to main content

component

Attribute Macro component 

Source
#[component]
Expand description

Declare an exportable component whose body is one ui! declaration. #[component(features = X)] makes the component the scope of the feature contract X.