Skip to content

Commit 8401394

Browse files
committed
refactor(input): Remove unused input types
1 parent 477ef95 commit 8401394

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

src/components/ui/input/input.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,8 @@ interface TextInputProps {
1313
type: "text"
1414
placeholder?: string
1515
}
16-
interface TimeInputProps {
17-
type: "time"
18-
min?: string
19-
max?: string
20-
step?: number
21-
}
22-
interface DateInputProps {
23-
type: "date"
24-
min?: string
25-
max?: string
26-
}
2716

28-
type PropsByType = TextInputProps | TimeInputProps | DateInputProps
17+
type PropsByType = TextInputProps
2918

3019
export type InputProps = RefProp<HTMLInputElement> &
3120
PropsByType &

0 commit comments

Comments
 (0)