UNPKG

@atlaskit/spotlight

Version:

A spotlight introduces users to points of interest, from focused messages to multi-step tours.

26 lines 858 B
/* index.tsx generated by @compiled/babel-plugin v3.0.2 */ import "./index.compiled.css"; import * as React from 'react'; import { ax, ix } from "@compiled/react/runtime"; import { forwardRef } from 'react'; import { Flex, Text } from '@atlaskit/primitives/compiled'; import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden'; var styles = { root: "_1ul91ris" }; /** * __Spotlight StepCount__ * * `SpotlightStepCount` groups `SpotlightAction` components. * */ export var SpotlightStepCount = /*#__PURE__*/forwardRef(function (_ref, ref) { var children = _ref.children, testId = _ref.testId; return /*#__PURE__*/React.createElement(Flex, { xcss: styles.root }, /*#__PURE__*/React.createElement(Text, { ref: ref, testId: testId }, children, " ", /*#__PURE__*/React.createElement(VisuallyHidden, null, "steps"))); });