Progress
Container properties
All component configurations support Container properties at the first level.
Component properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | component's className | |
| style | object | component style | ||
| percentage | number | string | Percent of progress bar | ||
| status | 'default' | 'warning' | 'success' | 'error' | ✔️ | Status | |
| progressStyle | 'style1' | 'style2' | 'style3' | 'style4' | 'style1' | ✔️ | Appearance Style |
All the remaining componentsProps will be passed to the component root element(Progress)。
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | Component root DOM element |