Component docs
Loading
import { LiveRegion } from "@pixxl-tools/components";
// In Server Components:
import { LiveRegion } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
atomic | boolean | — | — |
politeness | "polite" | "assertive" | "off" | — | — |
atomicboolean
politeness"polite" | "assertive" | "off"
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<LiveRegion>Saved</LiveRegion>