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