Skip to content

Commit 0c52f63

Browse files
committed
changes as per PR comments
1 parent 4e861e2 commit 0c52f63

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/bubble/types.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { ReactElement } from "react";
2-
import { IStep } from "../stepper-component/types";
2+
import { IStep, IStyleFunction } from "../stepper-component/types";
33

44
export interface IBubbleProps {
55
step: IStep,
66
renderAdornment?(step: IStep, index: number): ReactElement,
77
index: number,
88
currentStepIndex?: number,
99
handleStepClick(): void,
10-
getBubbleStyles?(step: IStep, index: number): object,
11-
getActiveBubbleStyles?(step: IStep, index: number): object,
12-
getInActiveBubbleStyles?(step: IStep, index: number): object,
10+
getBubbleStyles?: IStyleFunction,
11+
getActiveBubbleStyles?: IStyleFunction,
12+
getInActiveBubbleStyles?: IStyleFunction
1313
}

0 commit comments

Comments
 (0)