@1d1s/design-system 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,14 +3,17 @@ export interface StepIndicatorItem {
|
|
|
3
3
|
id?: string;
|
|
4
4
|
label: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
+
type StepIndicatorSize = "sm" | "md" | "lg";
|
|
6
7
|
export interface StepIndicatorProps {
|
|
7
8
|
steps: StepIndicatorItem[];
|
|
8
9
|
/** 현재 단계 (1부터 시작) */
|
|
9
10
|
currentStep: number;
|
|
11
|
+
size?: StepIndicatorSize;
|
|
10
12
|
className?: string;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* StepIndicator
|
|
14
16
|
* 단계 진행 상태를 가로 라인과 원형 포인트로 표시하는 컴포넌트.
|
|
15
17
|
*/
|
|
16
|
-
export declare function StepIndicator({ steps, currentStep, className, }: StepIndicatorProps): React.ReactElement;
|
|
18
|
+
export declare function StepIndicator({ steps, currentStep, size, className, }: StepIndicatorProps): React.ReactElement;
|
|
19
|
+
export {};
|