@atlaskit/spotlight
Version:
A spotlight introduces users to points of interest, from focused messages to multi-step tours.
18 lines • 513 B
JavaScript
/* legacy.tsx generated by @compiled/babel-plugin v3.0.2 */
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { Reference } from '@atlaskit/popper/reference';
/**
* __Target__
*
* A target is the element that the popover content will be positioned in relation to.
*/
export const PopoverTarget = ({
children
}) => {
return /*#__PURE__*/React.createElement(Reference, null, ({
ref
}) => /*#__PURE__*/React.createElement("div", {
ref: ref
}, children));
};