Move radio example to Radio docs

This commit is contained in:
Héctor Ramón Jiménez 2023-04-12 06:43:58 +02:00
parent 4fdd76c07c
commit b505b72035
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 33 additions and 102 deletions

View file

@ -147,7 +147,7 @@ where
Renderer::Theme: widget::radio::StyleSheet,
V: Copy + Eq,
{
widget::Radio::new(value, label, selected, on_click)
widget::Radio::new(label, value, selected, on_click)
}
/// Creates a new [`Toggler`].