We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5806c8f + 7a82401 commit 4cb46fbCopy full SHA for 4cb46fb
src/wizard.tsx
@@ -4,7 +4,7 @@ import * as logger from './logger';
4
import { Handler, WizardProps } from './types';
5
import WizardContext from './wizardContext';
6
7
-const Wizard: React.FC<WizardProps> = React.memo(
+const Wizard: React.FC<React.PropsWithChildren<WizardProps>> = React.memo(
8
({ header, footer, children, startIndex = 0 }) => {
9
const [activeStep, setActiveStep] = React.useState(startIndex);
10
const [isLoading, setIsLoading] = React.useState(false);
0 commit comments