Function freya_components::Button 
source · pub fn Button(props: ButtonProps) -> ElementExpand description
Button component.
Props
See ButtonProps.
Styling
Inherits the ButtonTheme theme.
Example
fn app() -> Element {
    rsx!(
        Button {
            onclick: |_| println!("clicked"),
            label {
                "Click this"
            }
        }
    )
}