@ariakit/react
Version:
Toolkit for building accessible web apps with React
25 lines (16 loc) • 674 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});
var _LZ6L3ECGcjs = require('./LZ6L3ECG.cjs');
// ../ariakit-react-components/dist/separator/separator.js
var TagName = "hr";
var useSeparator = _LZ6L3ECGcjs.createHook.call(void 0, function useSeparator2({ orientation = "horizontal", ...props }) {
props = {
role: "separator",
"aria-orientation": orientation,
...props
};
return props;
});
var Separator = _LZ6L3ECGcjs.forwardRef.call(void 0, function Separator2(props) {
return _LZ6L3ECGcjs.createElement.call(void 0, TagName, useSeparator(props));
});
exports.useSeparator = useSeparator; exports.Separator = Separator;