Tally UI

SyncStatus

Sale and register sync status with product pull notices

Import

import { SyncStatus } from '@tallyui/components';

Usage

<SyncStatus
  state={outboxState}
  registerState={registerOutboxState}
  pluginName="Store POS plugin"
  pullNotice={pullNotice}
/>

Renders waiting sale and till update counts, sync status, refusal details, and sending or retry text. A product pull notice appears above the outbox status with its own explanation.

Props

PropTypeDefaultDescription
stateOutboxStaterequiredSale outbox state used for pending counts, refusals, sending, retries, and backend status
registerStateOutboxState---Register outbox state used for till update counts and status when only till updates are waiting
pluginNamestring'the POS plugin'Name of the store's plugin used in notices and details
pullNoticeSyncNotice---Stopped product pull notice shown above the outbox line with explanatory detail

On this page