-1

I am writing a react native app. I want to make a press. See more like we usually see for more information of something. How can I do that?

Like here

hoang viet
  • 23
  • 3
  • 2
    Please read this an edit your question: https://stackoverflow.com/help/how-to-ask – dperish Dec 09 '17 at 03:00
  • Please [edit] to add meaningful code and a problem description here. Posting a [Minimal, Complete, Verifiable Example](http://stackoverflow.com/help/mcve) that demonstrates your problem would help you get better answers. Thanks! – Tom Aranda Dec 09 '17 at 03:13

1 Answers1

1

Text components have an onPress prop, where you can pass an arrow function

<Text onPress = {() => this.myFunction()}>
    See More
</Text>

Note: Adding some style props, eg color: 'blue' and fontWeight: 600 can help your text look pretty similar to your provided photo.

Ryan Turnbull
  • 3,766
  • 1
  • 25
  • 35