Vizel API / react/src / VizelSaveIndicator
Function: VizelSaveIndicator()
ts
function VizelSaveIndicator(__namedParameters): Element;Defined in: packages/react/src/components/VizelSaveIndicator.tsx:36
Visual indicator for the current save state of the editor.
The status → display mapping (icon, text, timestamp visibility) lives in @vizel/core's resolveVizelSaveIndicatorView. The relative-time interval comes from createVizelRelativeTimeTicker. The component is just the React-flavored binding.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | VizelSaveIndicatorProps |
Returns
Element
Example
tsx
<VizelSaveIndicator status={status} lastSaved={lastSaved} showTimestamp />