import type React from 'react'; import { FiSave, FiXCircle } from 'react-icons/fi'; import { IconButton } from '@meshtastic/components'; export interface FormFooterProps { dirty?: boolean; clearAction?: () => void; saveAction?: () => void; } export const FormFooter = ({ dirty, clearAction, saveAction, }: FormFooterProps): JSX.Element => { return (
} disabled={!dirty} onClick={(): void => { clearAction && clearAction(); }} /> { saveAction && saveAction(); }} icon={} />
); };