Function freya::prelude::OutlineButton

pub fn OutlineButton(props: ButtonProps) -> Option<VNode>
Expand description

Clickable button with an outline style.

§Styling

Inherits the outline ButtonTheme theme.

§Example

fn app() -> Element {
    rsx!(
        OutlineButton {
            onpress: |_| println!("clicked"),
            label {
                "Click this"
            }
        }
    )
}