import {TriangleExclamationFill} from '@gravity-ui/icons'; import {ActionTooltip, Button, Flex, Icon, Label} from '@gravity-ui/uikit'; import {BRAND_BUTTON_CLASS} from '../../../../utils/constants'; import i18n from '../i18n'; import {block} from '../shared'; interface FooterProps { onCancel: () => void; onSave: () => void; onDiscard: () => void; loading?: boolean; error?: string; disabled?: boolean; } export function Footer({onCancel, onSave, onDiscard, loading, error, disabled}: FooterProps) { return ( {error && ( )} ); }