React Native / Lists, ScrollView
App.js import { StatusBar } from 'expo-status-bar'; import React, {useState} from 'react'; import { StyleSheet, Text, View, ScrollView } from 'react-native'; export default function App() { const [people, setPeople] = useState([ {name: 'shaun', key: '1'}, {name: 'yoshi', key: '2'}, {name: 'mario', key: '3'}, {name: 'luigi', key: '4'}, {name: 'peach', key: '5'}, {name: 'toad', key: '6'}, {name: '..
React Native / text input
input 태그를 사용하고자 할때 TextInput 사용 가능 먼저, import 란에 TextInput 추가 import { StyleSheet, Text, View, TextInput } from 'react-native'; App.js import { StatusBar } from 'expo-status-bar'; import React, {useState} from 'react'; import { StyleSheet, Text, View, TextInput } from 'react-native'; export default function App() { const [name, setName] = useState('shaun'); const [age, setAge] = useState('30'); ..