import { useNavigation } from "@react-navigation/native"; import React, { useState } from "react"; import { FlatList, TextInput, StyleSheet, View } from "react-native"; import GradeChip from './GradeChip'; interface kanjiListSeachPanelProps { onSelect: (item: string, isSelected: Boolean) => void; } const GradeChipList = (props: kanjiListSeachPanelProps) => { const navigator = useNavigation(); return ( } horizontal={true} showsHorizontalScrollIndicator={false}/> ); }; const panelStyle = StyleSheet.create({ container: { justifyContent: "center", alignItems: "center", height: "10%", marginTop: 5, marginBottom: 5 } }) export default GradeChipList;