Turn repeat on
"off"Repeat is off.
Media controls
RepeatStateIconShows whether media repeat is on or off.
Repeat is off.
"off"Repeat is off.
"on"Repeat is on.
Implementation
The component stays presentational. Your application remains in control of async work and business logic. The state prop is a TypeScript string literal union — pass an invalid state and you'll get a type error at build time.
import { RepeatStateIcon } from "@stateglyph/react";
<RepeatStateIcon state="off" decorative />