참고 블로그 : https://thebook.io/080236/ch04/02/04/
리액트 네이티브에는 기본적으로 구분선이 없기 때문에 더미 View를 만들어서 따로 구현해주어야 한다.
import { View, StyleSheet } from 'react-native';
const Seperator = (props) => {
return <View style={styles.container}></View>;
};
export default Seperator;
const styles = StyleSheet.create({
container: {
backgroundColor: '#C6C6C6',
height: 1,
},
});