ui/stepper: forward props in backButton

This commit is contained in:
Johannes Kirschbauer
2025-08-28 10:10:52 +02:00
parent c574b84278
commit e2f64e1d40

View File

@@ -35,7 +35,8 @@ export const NextButton = (props: NextButtonProps) => {
);
};
export const BackButton = () => {
type BackButtonProps = ButtonProps & {};
export const BackButton = (props: BackButtonProps) => {
const stepSignal = useStepper<InstallSteps>();
return (
<Button
@@ -45,6 +46,7 @@ export const BackButton = () => {
onClick={() => {
stepSignal.previous();
}}
{...props}
></Button>
);
};