UNPKG

@ariakit/react-core

Version:

Ariakit React core

27 lines (16 loc) 720 B
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _IZF4HFJNcjs = require('./IZF4HFJN.cjs'); var _WULEED4Qcjs = require('./WULEED4Q.cjs'); // src/popover/popover-heading.tsx var TagName = "h1"; var usePopoverHeading = _WULEED4Qcjs.createHook.call(void 0, function usePopoverHeading2(props) { props = _IZF4HFJNcjs.useDialogHeading.call(void 0, props); return props; } ); var PopoverHeading = _WULEED4Qcjs.forwardRef.call(void 0, function PopoverHeading2(props) { const htmlProps = usePopoverHeading(props); return _WULEED4Qcjs.createElement.call(void 0, TagName, htmlProps); }); exports.usePopoverHeading = usePopoverHeading; exports.PopoverHeading = PopoverHeading;