Function freya::components::FilledButton
source · pub fn FilledButton(props: ButtonProps) -> Option<VNode>
Expand description
Clickable button with a solid fill color.
§Styling
Inherits the filled ButtonTheme
theme.
§Example
fn app() -> Element {
rsx!(
FilledButton {
onpress: |_| println!("clicked"),
label {
"Click this"
}
}
)
}