Attribute Macro component

Source
#[component]
Expand description

简化组件函数定义,自动实现 Component trait。