UNPKG

@atlaskit/spotlight

Version:

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

25 lines (24 loc) 749 B
/** * @jsxRuntime classic * @jsx jsx */ import { type ReactNode } from 'react'; export interface SpotlightMediaProps { /** * A `testId` prop is provided for specified elements, which is a unique * string that appears as a data attribute `data-testid` in the rendered code, * serving as a hook for automated tests */ testId?: string; /** * Media to be displayed. This can be an image, video, gif that helps communicate spotlight intent. */ children: ReactNode; } /** * __SpotlightMedia__ * * `SpotlightMedia` is optional in a `Spotlight`. * */ export declare const SpotlightMedia: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightMediaProps> & React.RefAttributes<HTMLDivElement>>;