UNPKG

@atlaskit/spotlight

Version:

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

30 lines 1.19 kB
/* 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 ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal'; import { fg } from '@atlaskit/platform-feature-flags/fg'; import { Pressable } from '@atlaskit/primitives/compiled'; var styles = { root: "_2rko12b0 _v564k6bl _1rjc12x7 _syaz15cr _bfhk1aqn _irr31ibz _1ggl5xtf _1di6of27", rootMotion: "_2rko12b0 _v564k6bl _1rjc12x7 _syaz15cr _bfhk1aqn _irr31ibz _1ggl5xtf _1di6of27" }; /** * __SpotlightShowMoreControl__ * * `SpotlightShowMoreControl` provides follow-up actions and customizations for the spotlight. * */ export var SpotlightShowMoreControl = /*#__PURE__*/forwardRef(function (_ref, ref) { var onClick = _ref.onClick, testId = _ref.testId; return /*#__PURE__*/React.createElement(Pressable, { xcss: fg('platform-dst-motion-uplift-custom-button') ? styles.rootMotion : styles.root, onClick: onClick, ref: ref, testId: testId }, /*#__PURE__*/React.createElement(ShowMoreHorizontalIcon, { label: "Show more" })); });