UNPKG

@ariakit/react-core

Version:

Ariakit React core

28 lines (25 loc) 503 B
"use client"; import { useGroup } from "./GW2URR7A.js"; import { createElement, createHook, forwardRef } from "./ILRXHV7V.js"; // src/form/form-group.tsx var TagName = "div"; var useFormGroup = createHook( function useFormGroup2({ store, ...props }) { props = useGroup(props); return props; } ); var FormGroup = forwardRef(function FormGroup2(props) { const htmlProps = useFormGroup(props); return createElement(TagName, htmlProps); }); export { useFormGroup, FormGroup };