import React from "react"; import { StyleSheet, Text, View } from "react-native"; const greenChipTone = { bg: "#EEF7F1", border: "#D5E8DB", text: "#35664E" }; export function ChipList({ items }: { items: string[] }) { if (!items.length) return null; return ( {items.map((item) => { return ( {item} ); })} ); } const styles = StyleSheet.create({ root: { flexDirection: "row", flexWrap: "wrap", gap: 8 }, chip: { borderWidth: 1, borderRadius: 999, paddingHorizontal: 11, paddingVertical: 7, }, text: { fontSize: 13, lineHeight: 18, fontWeight: "600" }, });