{t('licenses.intro')}
{/* Highlight block */}
{highlights.length > 0 && (
{t('licenses.highlights')}
{highlights.map((e) => (
))}
)}
{/* Search */}
setQuery(e.target.value)}
style={{
flex: 1,
background: 'transparent',
border: 'none',
outline: 'none',
padding: '2px 0',
color: 'var(--text-primary)',
fontSize: '0.85rem',
}}
/>
{/* Virtual list */}
{filtered.length === 0 ? (
{t('licenses.noResults')}
) : (
{virtualizer.getVirtualItems().map((vi) => {
const entry = filtered[vi.index];
return (
);
})}
)}
{t('licenses.totalLine', {
total: data.stats.total,
cargo: data.stats.cargo,
npm: data.stats.npm,
})}
·
{t('licenses.generatedAt', { date: formatDate(data.generatedAt, i18n.language) })}
setSelected(null)} />
);
}