StatePersistence
A StatePersistence component from the Sigil design system.
import { StatePersistence } from "@sigil-ui/components";
<StatePersistence>...</StatePersistence>
| Prop | Type | Default | Description |
|---|
activeItem | PersistenceActiveItem | — | The primary "active" item (e.g. the product being promoted). |
competitors | PersistenceActiveItem[] | — | Competing items shown for comparison. |
persistedState | PersistedStateRow[] | — | Rows of persisted state. |
activeLabel | string | — | Section labels. |
stateLabel | string | — | — |
| CSS Variable | Purpose |
|---|
--s-success | Success |
--s-error | Error |
--s-border | Border |
--s-text-muted | Text muted |
--s-duration-normal | Duration normal |
--s-ease-spring | Ease spring |
--s-radius-full | Radius full |
--s-duration-slow | Duration slow |
--s-text | Text |
--s-background | Background |
--s-ease-out | Ease out |
--s-duration-fast | Duration fast |