Files
NapCatQQ/.pnpm-store/v3/files/4f/dc88ef56a3021e8048e85f1b922456f085df8d540cfedd44fe7ed1ec6502b2c2bc633fcbec7a6892e0cc741554e0bdb979e82bdcc5d0fdecf64e7bf395990c
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
898 B
Plaintext

import { FormProps as FormProps$1 } from '@react-types/form';
import React__default from 'react';
import { DOMProps, ContextValue } from './utils.js';
import '@react-types/shared';
interface FormProps extends FormProps$1, DOMProps {
/**
* Whether to use native HTML form validation to prevent form submission
* when a field value is missing or invalid, or mark fields as required
* or invalid via ARIA.
* @default 'native'
*/
validationBehavior?: "aria" | "native";
}
declare const FormContext: React__default.Context<ContextValue<FormProps, HTMLFormElement>>;
/**
* A form is a group of inputs that allows users to submit data to a server,
* with support for providing field validation errors.
*/
declare const Form: React__default.ForwardRefExoticComponent<FormProps & React__default.RefAttributes<HTMLFormElement>>;
export { Form, FormContext, FormProps };