So, I explored changing the types in rescript-react-native to a record (named _props to not conflict with the props type created by @react.component). Now this seems to work.
Are there any downsides to using records instead of function arguments in rescript-react-native?
And why does @react.component create a generic props< 'children, ...>?
module View = {
type p = {
...ReactNative.View._props,
...styledProps,
}
let make: React.component<p> = styled(ReactNative.View.make)
}