@ariakit/react
Version:
Toolkit for building accessible web apps with React
45 lines (42 loc) • 1.6 kB
JavaScript
"use client";
// src/form.ts
import { useFormStore } from "@ariakit/react-core/form/form-store";
import { useFormContext } from "@ariakit/react-core/form/form-context";
import { Form } from "@ariakit/react-core/form/form";
import { FormProvider } from "@ariakit/react-core/form/form-provider";
import { FormControl } from "@ariakit/react-core/form/form-control";
import { FormCheckbox } from "@ariakit/react-core/form/form-checkbox";
import { FormDescription } from "@ariakit/react-core/form/form-description";
import { FormError } from "@ariakit/react-core/form/form-error";
import { FormField } from "@ariakit/react-core/form/form-field";
import { FormGroupLabel } from "@ariakit/react-core/form/form-group-label";
import { FormGroup } from "@ariakit/react-core/form/form-group";
import { FormInput } from "@ariakit/react-core/form/form-input";
import { FormLabel } from "@ariakit/react-core/form/form-label";
import { FormPush } from "@ariakit/react-core/form/form-push";
import { FormRadioGroup } from "@ariakit/react-core/form/form-radio-group";
import { FormRadio } from "@ariakit/react-core/form/form-radio";
import { FormRemove } from "@ariakit/react-core/form/form-remove";
import { FormReset } from "@ariakit/react-core/form/form-reset";
import { FormSubmit } from "@ariakit/react-core/form/form-submit";
export {
useFormStore,
useFormContext,
Form,
FormProvider,
FormControl,
FormCheckbox,
FormDescription,
FormError,
FormField,
FormGroupLabel,
FormGroup,
FormInput,
FormLabel,
FormPush,
FormRadioGroup,
FormRadio,
FormRemove,
FormReset,
FormSubmit
};