We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e861e2 commit 0c52f63Copy full SHA for 0c52f63
1 file changed
src/bubble/types.d.ts
@@ -1,13 +1,13 @@
1
import { ReactElement } from "react";
2
-import { IStep } from "../stepper-component/types";
+import { IStep, IStyleFunction } from "../stepper-component/types";
3
4
export interface IBubbleProps {
5
step: IStep,
6
renderAdornment?(step: IStep, index: number): ReactElement,
7
index: number,
8
currentStepIndex?: number,
9
handleStepClick(): void,
10
- getBubbleStyles?(step: IStep, index: number): object,
11
- getActiveBubbleStyles?(step: IStep, index: number): object,
12
- getInActiveBubbleStyles?(step: IStep, index: number): object,
+ getBubbleStyles?: IStyleFunction,
+ getActiveBubbleStyles?: IStyleFunction,
+ getInActiveBubbleStyles?: IStyleFunction
13
}
0 commit comments