React-native-gifted-chat: renderTime color???

Created on 27 Sep 2018  路  6Comments  路  Source: FaridSafi/react-native-gifted-chat

I have seen the code about custom Time Text style on the master but not branch not the version 0.4.3

wontfix

Most helpful comment

    renderTime(props) {
      return (
        <Time
          {...props}
          textStyle={{
            right: {
              color: "black"
            },
            left: {
              color: "white"
            }
          }}
        />
      );
    }

Just tried to use it and the prop seems to be 'timeTextStyle'

All 6 comments

Had the same issue.

Sadly, does not seem to exist in the npm version.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    renderTime(props) {
      return (
        <Time
          {...props}
          textStyle={{
            right: {
              color: "black"
            },
            left: {
              color: "white"
            }
          }}
        />
      );
    }
    renderTime(props) {
      return (
        <Time
          {...props}
          textStyle={{
            right: {
              color: "black"
            },
            left: {
              color: "white"
            }
          }}
        />
      );
    }

Just tried to use it and the prop seems to be 'timeTextStyle'

timeTextStyle={{
right: {
color: 'black',
},
left: {
color: 'white',
},
}}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yazhengwang picture yazhengwang  路  3Comments

arayaryoma picture arayaryoma  路  3Comments

SytzeAndr picture SytzeAndr  路  3Comments

cerberusv2px picture cerberusv2px  路  3Comments

inceptivetech picture inceptivetech  路  3Comments