type TextInput = {
disabled: &bool,
value: &string,
placeholder: &string,
on_input: &fn(s: string) -> Any,
on_submit: &fn(e: null) -> Any,
is_secure: &bool,
width: &Length,
padding: &Padding,
size: &[f64, null],
font: &[Font, null]
};
val text_input: fn(
?#placeholder: &string,
?#on_input: fn(s: string) -> Any,
?#on_submit: fn(e: null) -> Any,
?#is_secure: &bool,
?#width: &Length,
?#padding: &Padding,
?#size: &[f64, null],
?#font: &[Font, null],
?#disabled: &bool,
value: &string
) -> Widget