Dawn
"dawn"Dawn.
Weather and time
DaylightStateIconRepresents daylight across dawn, day, dusk, night states.
Dawn.
"dawn"Dawn.
"day"Daytime.
"dusk"Dusk.
"night"Nighttime.
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 { DaylightStateIcon } from "@stateglyph/react";
<DaylightStateIcon state="dawn" decorative />