@conduction/components
Version:
React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)
13 lines (12 loc) • 470 B
TypeScript
/// <reference types="react" />
import "react-datepicker/dist/react-datepicker.css";
import { Control, FieldValues } from "react-hook-form";
import { IReactHookFormProps } from "../types";
interface IDateProps {
control: Control<FieldValues, any>;
name: string;
showTimeSelect?: boolean;
disabled?: boolean;
}
export declare const InputDate: ({ name, errors, control, validation, disabled, }: IDateProps & IReactHookFormProps) => JSX.Element;
export {};