Skip to content

Commit 4a5ccb6

Browse files
authored
chore: export step component (#480)
1 parent a899f86 commit 4a5ccb6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

components/stepper/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
export { Step, stepClassNames } from "./step";
12
export { Stepper } from "./stepper";
23
export { StepperDialog } from "./stepper-dialog";
34
export { StepperDialogClassNames } from "./stepper-dialog.styles";
45
export type { DialogStep, StepperDialogProps } from "./stepper-dialog.types";
5-
export type { Step, StepperProps } from "./stepper.types";
6+
export type { TStep, StepperProps } from "./stepper.types";

components/stepper/src/stepper-dialog.types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Step } from "./stepper.types";
1+
import { TStep } from "./stepper.types";
22

3-
export type DialogStep = Step & {
3+
export type DialogStep = TStep & {
44
content: JSX.Element;
55
};
66

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
export type Step = {
1+
export type TStep = {
22
name: string;
33
};
44

55
export type StepperProps = {
66
currentStep: number;
7-
steps: Step[];
7+
steps: TStep[];
88
vertical?: boolean;
99
};

0 commit comments

Comments
 (0)