Skip to content

Commit 6c0db35

Browse files
committed
Improved types
1 parent f6c17e3 commit 6c0db35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/components/primitives/InputNumberStepper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { MinusIcon, PlusIcon } from "@heroicons/react/20/solid";
22
import { type ChangeEvent, useRef } from "react";
33
import { cn } from "~/utils/cn";
44

5-
type InputNumberStepperProps = JSX.IntrinsicElements["input"] & {
5+
type InputNumberStepperProps = Omit<JSX.IntrinsicElements["input"], "min" | "max" | "step"> & {
66
step?: number;
77
min?: number;
88
max?: number;

0 commit comments

Comments
 (0)