Ułóż w kolejności · Kurs React Native · Moduł 2: Listy i style
useWindowDimensions
Ułóż poprawne użycie hooka useWindowDimensions:
Elementy do ułożenia
- =
- { width, height }
- const
- useWindowDimensions();
Pokaż odpowiedź
Poprawna kolejność:
- const
- { width, height }
- =
- useWindowDimensions();