Pitel
10/04/2021, 12:52 PMPropsWithChildren
? Will the element(s) added there be automaticaly rendered? And what the difference with ReactNode.unaryPlus()
in RBuilder
?turansky
10/04/2021, 1:11 PMPropsWithChildren
you can mark components, which use props.children
Future plan - allow child extensions for components, which use PropsWithChildren
and disable for othersturansky
10/04/2021, 1:13 PMval Button = fc<Props>()
// ...
Button {
div() // ERROR
}