import { fadeCss } from "./fade"; import { SpinnerStyle, spinnerRoot, step } from "./frame"; import type { SpinnerProps } from "./types"; const CHEVRONS = [3.5, 9, 14.5]; const css = ` ${fadeCss("chevrons", "chevron", CHEVRONS.length, { dim: 0.2, rest: 0.6 })} `; export function Chevrons(props: SpinnerProps) { return ( <> {css} {CHEVRONS.map((x, index) => ( ))} ); }