Play
"paused"Media is paused and can be played.
Media controls
PlayPauseStateIconSwitches between paused and playing media states.
Media is paused and can be played.
"paused"Media is paused and can be played.
"playing"Media is playing and can be paused.
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 { PlayPauseStateIcon } from "@stateglyph/react";
<PlayPauseStateIcon state="paused" decorative />