UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

19 lines 522 B
import React from 'react'; import useAriaLive from "./useAriaLive.js"; import withComponentMarkers from "../../shared/helpers/withComponentMarkers.js"; import { jsx as _jsx } from "react/jsx-runtime"; function AriaLive({ element, ...props }) { const ariaAttributes = useAriaLive(props); const Element = element || 'section'; return _jsx(Element, { ...ariaAttributes }); } withComponentMarkers(AriaLive, { _supportsSpacingProps: 'children' }); export default AriaLive; //# sourceMappingURL=AriaLive.js.map