UNPKG

@atlaskit/navigation-system

Version:

Page layout and navigation components for Atlassian apps.

24 lines • 986 B
/* skip-links-content.tsx generated by @compiled/babel-plugin v3.0.4 */ import "./skip-links-content.compiled.css"; import * as React from 'react'; import { ax, ix } from "@compiled/react/runtime"; var contentStyles = { root: "_1rjcu2gc _18zrpxbi _1e0c1txw _2lx21bp4 _1pbyjh3g", skipLinkList: "_1e0c1txw _2lx21bp4 _1x8w11lx _2mzuglyw _1pfhze3t _bozgze3t", label: "_11c8i4vh _1rjcu2gc _syazazsu" }; export function SkipLinksContent(_ref) { var label = _ref.label, titleId = _ref.titleId, testId = _ref.testId, children = _ref.children; return /*#__PURE__*/React.createElement("div", { className: ax([contentStyles.root]) }, label !== undefined && /*#__PURE__*/React.createElement("div", { "data-testid": testId ? "".concat(testId, "--skip-links-container--label") : undefined, id: titleId, className: ax([contentStyles.label]) }, label), /*#__PURE__*/React.createElement("ol", { className: ax([contentStyles.skipLinkList]) }, children)); }