diff --git a/components/Stepper2/Stepper2.tsx b/components/Stepper2/Stepper2.tsx index 7a83cfd..7592728 100644 --- a/components/Stepper2/Stepper2.tsx +++ b/components/Stepper2/Stepper2.tsx @@ -9,6 +9,9 @@ interface StepperProps { callbackCount?: (count: number) => void; } +/** + * @see Stepper + - Component + */ export default function Stepper2({ disabled, disabledLeft, disabledRight, initCount, callbackCount }: StepperProps) { const [count, setCount] = useState(initCount || 0); @@ -16,25 +19,35 @@ export default function Stepper2({ disabled, disabledLeft, disabledRight, initCo setCount(initCount); }, [initCount]); - const sendCount = (count: number) => { - callbackCount?.(count); + const sendCount = (_count: number) => { + callbackCount?.(_count); }; return (
- {count} - + {count} + + > + + +
); -}; +} \ No newline at end of file