UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

10 lines 599 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ScreenReaderOnly = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); const screenReaderOnly_styled_1 = require("./screenReaderOnly.styled"); const ScreenReaderOnly = ({ children, as, id, ariaLive, dataTestId = 'screen-reader', }) => { return ((0, jsx_runtime_1.jsx)(screenReaderOnly_styled_1.ScreenReaderOnlyStyled, { "aria-live": ariaLive, as: as, "data-testid": dataTestId, id: id, children: children })); }; exports.ScreenReaderOnly = ScreenReaderOnly; //# sourceMappingURL=screenReaderOnly.js.map