pub fn build(
props: InputProps(fn(String) -> a, String, TextInput, a),
) -> Element(a)
pub fn build_file(
props: InputProps(Nil, Nil, FileInput, a),
) -> Element(a)
pub fn custom(
type_: String,
) -> InputProps(Nil, Nil, TextInput, a)
pub fn file() -> InputProps(Nil, Nil, FileInput, a)
pub fn on_input(
props: InputProps(Nil, a, TextInput, b),
on_input: fn(String) -> b,
) -> InputProps(fn(String) -> b, a, TextInput, b)
pub fn password() -> InputProps(Nil, Nil, TextInput, a)
pub fn text() -> InputProps(Nil, Nil, TextInput, a)
pub fn with_attributes(
props: InputProps(a, b, c, d),
attributes: List(Attribute(d)),
) -> InputProps(a, b, c, d)
pub fn with_id(
props: InputProps(a, b, c, d),
id: String,
) -> InputProps(a, b, c, d)
pub fn with_name(
props: InputProps(a, b, c, d),
name: String,
) -> InputProps(a, b, c, d)
pub fn with_placeholder(
props: InputProps(a, b, TextInput, c),
placeholder: String,
) -> InputProps(a, b, TextInput, c)
pub fn with_styles(
props: InputProps(a, b, c, d),
styles: List(Style),
) -> InputProps(a, b, c, d)
pub fn with_value(
props: InputProps(a, Nil, TextInput, b),
value: String,
) -> InputProps(a, String, TextInput, b)