type AllocationBarItem = { key: string; label: string; percent: number; value: number; color: string; }; export function BrokerAllocationBar({ items, title, }: { items: AllocationBarItem[]; title: string; }) { const positiveItems = items.filter((item) => item.value > 0); if (positiveItems.length === 0) { return

Нет данных для распределения

; } return (
{positiveItems.map((item) => (
); }