import { DialogFooter } from '@blueprintjs/core'; import { noop } from '@zakodium/utils'; import { Button, withForm } from 'react-science/ui'; import { defaultGeneralSettingsFormValues } from './validation.js'; export const GeneralSettingsDialogFooter = withForm({ props: { onCancel: noop, }, defaultValues: defaultGeneralSettingsFormValues, render: ({ form, onCancel }) => { return ( Apply and Save Apply } /> ); }, });