@gpa-gemstone/react-forms
Version:
React Form modules for gpa webapps
24 lines (23 loc) • 669 B
TypeScript
import { Gemstone } from '@gpa-gemstone/application-typings';
interface IProps<T> extends Gemstone.TSX.Interfaces.IBaseFormProps<T> {
/**
* Function to determine the validity of a field
* @param field - Field of the record to check
* @returns {boolean}
*/
Valid: (field: keyof T) => boolean;
/**
* Feedback message to show when input is invalid
* @type {string}
* @optional
*/
Feedback?: string;
/**
* Defines the number of intervals for time value
* @type {number}
* @optional
*/
Step?: number;
}
export default function DatePicker<T>(props: IProps<T>): JSX.Element;
export {};