import React from 'react'; interface CodeItem { category: string; label: string; value: string; fullText: string; } interface CodeListProps { items: CodeItem[]; } export const CodeList: React.FC = ({ items }) => { if (items.length === 0) { return
No results found.
; } return (
{items.map((item, index) => (
{item.category} {item.label}
{item.value}
))}
); };