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ść:

  1. const
  2. { width, height }
  3. =
  4. useWindowDimensions();