input

fun input(label: String, builder: InputBuilder.() -> Unit)

Build a modal component using the InputBuilder.

Parameters

label

The label for this component.


fun input(    label: String,     style: TextInputStyle = TextInputStyle.Paragraph,     required: Boolean = true,     allowedLength: ClosedRange<Int>? = null,     value: String? = null,     placeholder: String? = null)

Build a modal component without using the DSL.