@manta-eu/react/sync-status
Reference for @manta-eu/react/sync-status as it is on main.
Type Aliases
SyncState
SyncState =
"idle"|"saving"|"saved"|"error"
SyncStatusProps
SyncStatusProps =
object
Properties
className?
optionalclassName?:string
errorLabel?
optionalerrorLabel?:string
idleLabel?
optionalidleLabel?:ReactNode
onRetry?
optionalonRetry?: () =>void
Returns
void
savedFor?
optionalsavedFor?:number
Milliseconds.
savedLabel?
optionalsavedLabel?:string
savingLabel?
optionalsavingLabel?:string
state
state:
SyncState
Functions
SyncStatus()
SyncStatus(
props):Element
Parameters
props
Returns
Element