UNPKG

@atlaskit/spotlight

Version:

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

25 lines 684 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'; const 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 const SpotlightBody = /*#__PURE__*/forwardRef(({ children, testId }, ref) => { return /*#__PURE__*/React.createElement(Box, { ref: ref, xcss: styles.root, testId: testId }, children); });