Update various components
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user