import type { SVGAttributes } from "react"; import { cx } from "../../lib/cx"; import type { RefProp } from "../../lib/refProp"; import styles from "./Spinner.module.css"; import { useWording } from "../../lib/language"; /** The props of `Spinner`. */ export interface SpinnerProps extends SVGAttributes, RefProp { /** Edge length in pixels. */ size?: number; } /** Restrained loading indicator; inherits the text colour of its context. */ export function Spinner({ ref, size = 14, className, ...rest }: SpinnerProps) { const wording = useWording(); return ( ); }