Norbi
02/13/2024, 11:05 AMAttrsScope subtypes, like InputAttrsScope ?
For example configuring TextInput() using `Modifier`s, like: TextInput(value = xyz, Modifier.onInput {...}.toAttrs()) ?David Herman
02/14/2024, 4:36 PMModifier.a(...).b(...).toAttrs { ... } and the toAttrs block will be appropriately typed.David Herman
02/14/2024, 4:37 PMDavid Herman
02/14/2024, 4:37 PMCLOVIS
02/14/2024, 4:38 PMcontext(TextInputScope)
fun Modifier.b(…): Modifier { … }David Herman
02/14/2024, 4:39 PMDavid Herman
02/14/2024, 4:39 PMDavid Herman
02/14/2024, 4:40 PMCLOVIS
02/14/2024, 4:40 PMRowScope , ColumnScope , etcDavid Herman
02/14/2024, 4:40 PMSelect(Modifier.....)David Herman
02/14/2024, 4:40 PMDavid Herman
02/14/2024, 4:41 PMSelect(...) {
// this is SelectScope
}CLOVIS
02/14/2024, 4:41 PMDavid Herman
02/14/2024, 4:41 PMcontext onto regular parameters and not just methods / lambdas, I don't think there's a way to accomplish type-specific modifiers.CLOVIS
02/14/2024, 4:42 PMAttrsInputScope subtypes, not sub-components. Sorry for the noise.David Herman
02/14/2024, 4:42 PM