@atlaskit/spotlight
Version:
A spotlight introduces users to points of interest, from focused messages to multi-step tours.
27 lines • 818 B
JavaScript
/* 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';
const styles = {
root: "_1ul91ris"
};
/**
* __Spotlight StepCount__
*
* `SpotlightStepCount` groups `SpotlightAction` components.
*
*/
export const SpotlightStepCount = /*#__PURE__*/forwardRef(({
children,
testId
}, ref) => {
return /*#__PURE__*/React.createElement(Flex, {
xcss: styles.root
}, /*#__PURE__*/React.createElement(Text, {
ref: ref,
testId: testId
}, children, " ", /*#__PURE__*/React.createElement(VisuallyHidden, null, "steps")));
});