pub fn Input(_: InputProps) -> Option<VNode>
Expand description
Input
component.
Props
See InputProps
.
Styling
Inherits the InputTheme
theme.
Example
fn app() -> Element {
let mut value = use_signal(String::new);
rsx!(
label {
"Value: {value}"
}
Input {
value: value.read().clone(),
onchange: move |e| {
value.set(e)
}
}
)
}