import * as React from 'react' ; import { View } from 'react-native' ; import type { ViewStyle } from 'react-native' ; export type PropsType = { children ? : React . Node ; style ? : ViewStyle ; props : ViewStyle ; } ; export const StyledComponent = ( { children , style , ... props } ) => { return < View style = { [ props , style ] } > { children } < /View>; } ;