Config

fun <T> Config(    value: T,     type: InputType,     onChange: (T) -> Unit,     toStr: (T) -> String,     fromStr: (String) -> T)