Skip to content

Commit 40183f6

Browse files
authored
Merge pull request #787 from data-driven-forms/fix-wizard-context
fix(renderer): fix wizard context export type
2 parents 492814d + f3aa9b7 commit 40183f6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/react-form-renderer/src/files/wizard-context.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import { FormOptions } from './renderer-context';
23

34
export interface WizardContextValue {
@@ -16,8 +17,6 @@ export interface WizardContextValue {
1617
prevSteps: string[];
1718
}
1819

19-
interface WizardContext {
20-
value: WizardContextValue;
21-
}
20+
declare const WizardContext: React.Context<WizardContextValue>;
2221

2322
export default WizardContext;

0 commit comments

Comments
 (0)