Pitel
09/22/2021, 8:13 AMStateInstance
delegate in Props
? 🤔 So then child components could easily change state of parent component.turansky
09/22/2021, 8:43 AMStateSetter
turansky
09/22/2021, 8:47 AMPitel
09/22/2021, 9:28 AMturansky
09/22/2021, 9:48 AMinterface MyControlProps: {
var value: Data
var onChange: (Data) -> Unit // handler
}
val MyControl = fc { ... }
turansky
09/22/2021, 9:49 AM