import * as React from "react" ; import { View , Text } from "react-native" ; import { styled , os } from "react-native-reflect" ; const Container = styled ( View , { margin : 4 } ) ; const MyText = styled ( Text , { fontWeight : [ os ( [ "medium" , "normal" ] ) , os ( [ "bold" , "medium" ] ) ] , fontSize : 4 } ) ; const PlatformResponsiveProps = ( ) => { return ( < Container > < MyText title = "MyText" > My Text < /MyText> < /Container>); } ; export default PlatformResponsiveProps ;