Alex Ostrovsky
07/11/2021, 2:21 AM{({ onItemsRendered, ref }) => (
is there a way to express that in Kotlin JS?Alex Ostrovsky
07/11/2021, 2:27 AMturansky
07/11/2021, 8:40 PMturansky
07/11/2021, 8:44 PMexternal interface ChildrenOptions {
onItemsRendered: Function<*>
ref: RRef
}
// ...
children: (options: ChildrenOptions) -> ???
Alex Ostrovsky
07/11/2021, 8:49 PMfun <T> RBuilder.children(value: T)
on RComponent, is that it or is there some other "children"?Alex Ostrovsky
07/11/2021, 9:00 PMturansky
07/11/2021, 10:29 PMProps.children
declared here without strict typizationAlex Ostrovsky
07/11/2021, 10:48 PMturansky
07/11/2021, 11:31 PMAny
, dynamic
props in wrappers. 🙂
In common case Any
& dynamic
= TODO
turansky
07/12/2021, 2:26 AMchildren
can be strict