diff --git a/src/components/FormFooter.tsx b/src/components/FormFooter.tsx new file mode 100644 index 00000000..d9562da8 --- /dev/null +++ b/src/components/FormFooter.tsx @@ -0,0 +1,36 @@ +import type React from 'react'; + +import { FiSave, FiXCircle } from 'react-icons/fi'; + +import { IconButton } from './generic/IconButton'; + +export interface FormFooterProps { + dirty: boolean; + clearAction: () => void; + saveAction: () => void; +} + +export const FormFooter = ({ + dirty, + clearAction, + saveAction, +}: FormFooterProps): JSX.Element => { + return ( +