@paprika/status-tracker
v5.0.1
Published
Move items through a customized status workflow and view metadata for the previous and current statuses.
Downloads
20
Keywords
Readme
@paprika/status-tracker
Description
Move items through a customized status workflow and view metadata for the previous and current statuses.
Installation
yarn add @paprika/status-tracker
or with npm:
npm install @paprika/status-tracker
Props
StatusTracker
| Prop | Type | required | default | Description | | ---------------- | ---- | -------- | ------- | -------------------------------- | | children | node | false | null | | | hasExtensionLine | bool | false | true | Displays extension line if true. |
StatusTracker.Point
| Prop | Type | required | default | Description | | ----------- | ------------------------------------------ | -------- | ------------ | --------------------------------------------------------------------- | | children | node | false | null | | | description | node | false | null | The description of current status point will be shown in the tooltip. | | kind | [ kinds.CURRENT, kinds.FUTURE, kinds.PAST] | false | kinds.FUTURE | Kind of current status point. | | name | node | false | null | The name of current status point will be shown in the tooltip. |