@atlaskit/spotlight
Version:
A spotlight introduces users to points of interest, from focused messages to multi-step tours.
16 lines • 616 B
JavaScript
/* index.tsx generated by @compiled/babel-plugin v3.0.2 */
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { fg } from '@atlaskit/platform-feature-flags/fg';
import { UNSAFE_UpdateOnChange as Legacy } from './legacy';
import { UNSAFE_UpdateOnChange as TopLayer } from './top-layer';
export const UNSAFE_UpdateOnChange = ({
selectors,
options
}) => fg('platform-dst-top-layer-spotlight') ? /*#__PURE__*/React.createElement(TopLayer, {
selectors: selectors,
options: options
}) : /*#__PURE__*/React.createElement(Legacy, {
selectors: selectors,
options: options
});