@atlaskit/spotlight
Version:
A spotlight introduces users to points of interest, from focused messages to multi-step tours.
26 lines (25 loc) • 822 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type ReactNode } from 'react';
export interface SpotlightHeaderProps {
/**
* 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;
/**
* Elements to be rendered inside the `SpotlightHeader`.
*/
children?: ReactNode;
}
/**
* __SpotlightHeader__
*
* `SpotlightHeader` should be placed at the top of a `Spotlight`, and is
* intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
*
*/
export declare const SpotlightHeader: React.ForwardRefExoticComponent<React.PropsWithoutRef<SpotlightHeaderProps> & React.RefAttributes<HTMLDivElement>>;