Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
10 lines
484 B
Plaintext
10 lines
484 B
Plaintext
import { FormValidationState } from "@react-stately/form";
|
|
import { RefObject, Validation } from "@react-types/shared";
|
|
type ValidatableElement = HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement;
|
|
interface FormValidationProps<T> extends Validation<T> {
|
|
focus?: () => void;
|
|
}
|
|
export function useFormValidation<T>(props: FormValidationProps<T>, state: FormValidationState, ref: RefObject<ValidatableElement | null> | undefined): void;
|
|
|
|
//# sourceMappingURL=types.d.ts.map
|