Skip to content

Commit

Permalink
fix: #1468 add optional ? to types
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Oct 30, 2024
1 parent 4eda1c2 commit d767c04
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/lib/steps/StepIndicator.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
import { twMerge, twJoin } from 'tailwind-merge';
interface $$Props extends HTMLAttributes<HTMLElement> {
steps: string[];
currentStep: number;
size: string;
color: 'primary' | 'secondary' | 'gray' | 'red' | 'yellow' | 'green' | 'indigo' | 'purple' | 'pink' | 'blue' | 'custom';
glow: boolean;
hideLabel: boolean;
completedCustom: string;
currentCustom: string;
steps?: string[];
currentStep?: number;
size?: string;
color?: 'primary' | 'secondary' | 'gray' | 'red' | 'yellow' | 'green' | 'indigo' | 'purple' | 'pink' | 'blue' | 'custom';
glow?: boolean;
hideLabel?: boolean;
completedCustom?: string;
currentCustom?: string;
}
export let steps: $$Props['steps'] = ['Step 1', 'Step 2', 'Step 3', 'Step 4', 'Step 5'];
Expand Down

0 comments on commit d767c04

Please sign in to comment.