Attribute Macro component
#[component]
Expand description
A macro for creating components from functions.
Add this attribute to a fn
to create a component from that function.
To learn more about components, see the chapter on components in the Sycamore Book.