React Native View, Text, Image, ScrollView, TextInput ਵਰਗੇ ਮੁਲ ਭਾਗ ਦਾ ਇੱਕ ਸਮੂਹ ਫੁਰਨ ਕਰਦਾ ਹੈ — ਜੋ ਮਰਜ਼ੀ UI ਤੱਤਾਂ ਨੂੰ ਮੈਪ ਕਰਦੇ ਹਨ। ਇਹ React Native UIs ਦੇ ਬਨਿਆਦੀ ਬਲਾਕ ਹਨ, ਜਿਨ੍ਹਾਂ ਦੀ ਵੈਬ HTML ਤੱਤਾਂ ਦੀ ਜਗ੍ਹਾ ਲਈ ਵਰਤੋਂ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
ਮੁਲ ਭਾਗ (ਵੈਬ HTML ਦੇ ਅਤੁੱਤ)
React Native uses its OWN components (mapping to native views), NOT HTML:
VIEW → a container (like a <div>) — the basic layout building block
TEXT → display text (ALL text must be inside a <Text>, unlike web)
IMAGE → display images (local or remote)
TEXTINPUT → text input field (like an <input>)
SCROLLVIEW → a scrollable container
FLATLIST → an efficient scrollable LIST (for long lists — renders lazily)
TOUCHABLEOPACITY / PRESSABLE → handle taps (touchable areas)
BUTTON → a basic button
