import { Heading, Text } from '@/components/ui/Typography.tsx'; import { Stack } from '@/components/ui/layout'; import React from 'react'; export interface WebIntelSource { uri: string; title?: string; } interface WebIntelSourcesListProps { sources: WebIntelSource[]; title: string; className?: string; } /** * Reusable component for displaying a list of web intelligence sources * with proper semantic HTML and styling */ export const WebIntelSourcesList: React.FC = ({ sources, title, className, }) => { const validSources = sources.filter((source) => source?.uri); if (validSources.length === 0) { return null; } return (
{title}
); }; export default React.memo(WebIntelSourcesList);