Update various components

This commit is contained in:
2026-02-26 21:03:21 -05:00
parent 637b3a0c34
commit 94f0f3ca13
20 changed files with 84 additions and 112 deletions

View File

@@ -1,5 +1,5 @@
import type React from "react";
import type { ChangeEventHandler, InputHTMLAttributes } from "react";
import type { ChangeEventHandler, ComponentProps } from "react";
export interface TextInputProps {
@@ -167,7 +167,7 @@ export interface RadioListProps {
}
export interface DateInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "step">{
export interface DateInputProps extends Omit<ComponentProps<"input">, "value" | "onChange" | "step">{
step?: number;
value: Date | undefined;
onChange: (newValue: Date | undefined) => void;