Skip to main content

component

Attribute Macro component 

Source
#[component]
Expand description

Attribute macro for defining components.

This macro transforms a function into a component that can be used in RSX expressions.