Function freya_components::OutlineButton

source ·
pub fn OutlineButton(props: ButtonProps) -> Element
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"
            }
        }
    )
}