mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Fixed linting issues in react-albus
This commit is contained in:
Vendored
+2
-2
@@ -28,9 +28,9 @@ export interface WizardComponentProps {
|
||||
wizard: WizardContext;
|
||||
}
|
||||
|
||||
export const withWizard: <P>(
|
||||
export function withWizard<P>(
|
||||
component: React.ComponentType<P & WizardComponentProps>
|
||||
) => React.ComponentType<P>;
|
||||
): React.ComponentType<P>;
|
||||
|
||||
export interface WizardProps {
|
||||
onNext?: (wizard: WizardContext) => void;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import * as React from "react";
|
||||
import { Wizard, Step, Steps, withWizard } from "react-albus";
|
||||
import { ButtonHTMLAttributes } from "react";
|
||||
|
||||
const Example = () => (
|
||||
<Wizard
|
||||
|
||||
Reference in New Issue
Block a user