UNPKG

@atlaskit/spotlight

Version:

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

24 lines 724 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 { Box } from '@atlaskit/primitives/compiled'; var styles = { root: "_18zrpxbi _syaz15cr _1q51u2gc" }; /** * __SpotlightBody__ * * `SpotlightBody` is required in a spotlight. The content should be brief and direct to elaborate on the intent. * */ export var SpotlightBody = /*#__PURE__*/forwardRef(function (_ref, ref) { var children = _ref.children, testId = _ref.testId; return /*#__PURE__*/React.createElement(Box, { ref: ref, xcss: styles.root, testId: testId }, children); });