import { Icon } from 'UI'; import React from 'react'; import cn from 'classnames'; import AnimatedSVG, { ICONS } from 'Shared/AnimatedSVG/AnimatedSVG'; function Category({ name, healthOk, onClick, isSelectable, isExpandable, isExpanded, isSelected, isLoading, noBorder, }: { name: string; healthOk?: boolean; isLoading?: boolean; onClick: (args: any) => void; isSelectable?: boolean; isExpandable?: boolean; isExpanded?: boolean; isSelected?: boolean; noBorder?: boolean; }) { const icon = healthOk ? ('check-circle-fill' as const) : ('exclamation-circle-fill' as const); return (