diff --git a/package.json b/package.json index da016cc..5128e71 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-hook-form-multistep", "description": "Extensible multistep forms for React Hook Form.", - "version": "0.0.6", + "version": "0.0.7", "private": false, "author": { "name": "Camin McCluskey", diff --git a/src/components/SubmitButton.tsx b/src/components/SubmitButton.tsx index af72358..83ca235 100644 --- a/src/components/SubmitButton.tsx +++ b/src/components/SubmitButton.tsx @@ -6,6 +6,7 @@ import type { FormStepOnSubmit } from '~/types' type SubmitButtonProps = { label?: string + className?: string handleSubmit: UseFormHandleSubmit onSubmit: FormStepOnSubmit disabled: boolean @@ -13,6 +14,7 @@ type SubmitButtonProps = { export default function SubmitButton({ label = 'Next', + className, handleSubmit, onSubmit, disabled, @@ -26,7 +28,7 @@ export default function SubmitButton({ }) return ( - )