@hypothesis/frontend-shared
Version:
Shared components, styles and utilities for Hypothesis projects
7 lines (6 loc) • 296 B
TypeScript
import type { JSX } from 'preact';
export type SpinnerOverlayProps = Omit<JSX.HTMLAttributes<HTMLElement>, 'className' | 'open'>;
/**
* Render a full-screen spinner atop a light-colored overlay
*/
export default function SpinnerOverlay({ ...htmlAttributes }: SpinnerOverlayProps): JSX.Element;