import React from 'react'; import { Text, View } from 'react-native'; import { toolWidgetStyles } from './toolWidgetStyles'; export type KeyValueItem = { label: string; value: string; }; export function KeyValueList({ items }: { items: KeyValueItem[] }) { if (items.length === 0) return null; return ( {items.map((item, index) => ( {item.label} {item.value} ))} ); }