Skip to content

Commit 334ad07

Browse files
authored
Add exports (#8)
1 parent 7206a65 commit 334ad07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import React, { useMemo, useState } from 'react';
22

3-
interface WizardFlowProps<Step extends keyof any> {
3+
export interface WizardFlowProps<Step extends keyof any> {
44
initialStep: Step;
55
onClose?: () => void;
66
steps: Record<Step, JSX.Element>;
77
}
88

9-
interface WizardFlowContext<Step extends keyof any> {
9+
export interface WizardFlowContext<Step extends keyof any> {
1010
transition: (step: Step) => void;
1111
close: () => void;
1212
}
1313

14-
interface WizardFlow<Step extends keyof any> {
14+
export interface WizardFlow<Step extends keyof any> {
1515
Context: React.Context<WizardFlowContext<Step>>;
1616
Provider: (props: WizardFlowProps<Step>) => JSX.Element;
1717
}

0 commit comments

Comments
 (0)