@atlaskit/spotlight
Version:
A spotlight introduces users to points of interest, from focused messages to multi-step tours.
26 lines (25 loc) • 832 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type ReactNode } from 'react';
export interface SpotlightBodyProps {
/**
* 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;
/**
* Textual content is required for all spotlights.
* It should be brief and direct to quickly elaborate on the value.
*/
children: ReactNode;
}
/**
* __SpotlightBody__
*
* `SpotlightBody` is required in a spotlight. The content should be brief and direct to elaborate on the intent.
*
*/
export declare const SpotlightBody: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightBodyProps> & React.RefAttributes<HTMLDivElement>>;