added functional component examples with hooks#1623
added functional component examples with hooks#1623nearestnabors merged 3 commits intofacebook:masterfrom
Conversation
added functional component examples with hooks
|
Deploy preview for react-native ready! Built with commit 2c7d766 https://deploy-preview-1623--react-native.netlify.com Changes to Thank you for your contributions. |
| @@ -9,7 +9,61 @@ A React component for displaying text. | |||
|
|
|||
| In the following example, the nested title and body text will inherit the `fontFamily` from `styles.baseText`, but the title provides its own additional styles. The title and body will stack on top of each other on account of the literal newlines: | |||
There was a problem hiding this comment.
Re:
Do you think that here we can have examples of how to use each props?
I'd love to see that in the main example! Is it possible, @tsawan? Perhaps in a follow up submit?
Also, I don't think we need class component examples pas the first!
|
sorry @rachelnabors I was away for a while. I also remember running prettier but I've noticed you prettifying snack example to change it to double quotes. Do you have a different prettier config from the one in repo.? |

Hi, I've added functional component examples with hooks for Text component. #1579