1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-03-19 06:39:44 +01:00

add resource link for React Native Text component (#5773)

* add resource link for React Native Text component

---------

Co-authored-by: Ruslan Semagin <pixel.365.24@gmail.com>
Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
Co-authored-by: Ruslan Semagin <53819609+pixel365@users.noreply.github.com>
Co-authored-by: Suman Kisku <sumankisku1@gmail.com>
This commit is contained in:
Juan Gerardo Eulufi Salazar 2024-05-31 05:53:17 -04:00 committed by Kamran Ahmed
parent a16d781681
commit 4a2130d7d0

View File

@ -36,4 +36,8 @@ const styles = StyleSheet.create({
export default SimpleText;
```
In this example, we create a `Text` element with some text content, apply styling, limit it to two lines, and add an `onPress` event.
In this example, we create a `Text` element with some text content, apply styling, limit it to two lines, and add an `onPress` event.
Visit the following resources to learn more:
- [Text - React Native](https://reactnative.dev/docs/text)