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.
1 parent 7206a65 commit 334ad07Copy full SHA for 334ad07
src/index.tsx
@@ -1,17 +1,17 @@
1
import React, { useMemo, useState } from 'react';
2
3
-interface WizardFlowProps<Step extends keyof any> {
+export interface WizardFlowProps<Step extends keyof any> {
4
initialStep: Step;
5
onClose?: () => void;
6
steps: Record<Step, JSX.Element>;
7
}
8
9
-interface WizardFlowContext<Step extends keyof any> {
+export interface WizardFlowContext<Step extends keyof any> {
10
transition: (step: Step) => void;
11
close: () => void;
12
13
14
-interface WizardFlow<Step extends keyof any> {
+export interface WizardFlow<Step extends keyof any> {
15
Context: React.Context<WizardFlowContext<Step>>;
16
Provider: (props: WizardFlowProps<Step>) => JSX.Element;
17
0 commit comments