diff --git a/napcat.webui/src/components/button/save_buttons.tsx b/napcat.webui/src/components/button/save_buttons.tsx index f19486d3..d943677a 100644 --- a/napcat.webui/src/components/button/save_buttons.tsx +++ b/napcat.webui/src/components/button/save_buttons.tsx @@ -1,4 +1,5 @@ import { Button } from '@heroui/button' +import clsx from 'clsx' import toast from 'react-hot-toast' import { IoMdRefresh } from 'react-icons/io' @@ -7,15 +8,22 @@ export interface SaveButtonsProps { reset: () => void refresh?: () => void isSubmitting: boolean + className?: string } const SaveButtons: React.FC = ({ onSubmit, reset, isSubmitting, - refresh + refresh, + className }) => ( -
+