Both HandleTextSelection and SelectionRegion are components that take children, but their type definitions throw an error when passing components or elements as children.
We need to better defined those types, it would also be helpful that all the types used are exported.
Both
HandleTextSelection
andSelectionRegion
are components that take children, but their type definitions throw an error when passing components or elements as children.We need to better defined those types, it would also be helpful that all the types used are exported.