Regular text
"regular"Regular text.
Editing tools
TextFormatStateIconRepresents text format across regular, bold, italic states.
Regular text.
"regular"Regular text.
"bold"Bold text.
"italic"Italic text.
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 { TextFormatStateIcon } from "@stateglyph/react";
<TextFormatStateIcon state="regular" decorative />