Current behavior
Typescript is emitting an error when using Segmented.ScrollView with children.

Expected behaviour
Should be able to use Segmented.ScrollView with children without any typescript issues.
Code sample
For Syntax Highlighting check this link
<Segmented.ScrollView>
<Text>Hello world</Text>
</Segmented.ScrollView>
Screenshots (if applicable)

What have you tried
Can work around it by using <Segmented.FlatList>, but I'll eventually need to use <Segmented.ScrollView> in the future. I'm guessing it has something to do with how types are being built from this line:
https://github.com/PedroBern/react-native-collapsible-segmented-view/blob/main/src/ScrollComponents/ScrollView.tsx#L15
Current behavior
Typescript is emitting an error when using
Segmented.ScrollViewwith children.Expected behaviour
Should be able to use
Segmented.ScrollViewwith children without any typescript issues.Code sample
For Syntax Highlighting check this link
Screenshots (if applicable)
What have you tried
Can work around it by using
<Segmented.FlatList>, but I'll eventually need to use<Segmented.ScrollView>in the future. I'm guessing it has something to do with how types are being built from this line:https://github.com/PedroBern/react-native-collapsible-segmented-view/blob/main/src/ScrollComponents/ScrollView.tsx#L15