mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-23 14:39:32 +08:00
feat(blocksAntd): progress examples (no diff status normal OR active)
This commit is contained in:
parent
3435b8a035
commit
557c61dde5
@ -1,6 +1,100 @@
|
||||
- id: default
|
||||
type: Progress
|
||||
- id: properties.percent
|
||||
- id: "properties.percent"
|
||||
type: Progress
|
||||
properties:
|
||||
percent: 30
|
||||
percent: 30
|
||||
- id: "properties.type: circle"
|
||||
type: Progress
|
||||
properties:
|
||||
type: circle
|
||||
percent: 30
|
||||
- id: "properties.type: dashboard"
|
||||
type: Progress
|
||||
properties:
|
||||
type: dashboard
|
||||
percent: 30
|
||||
- id: "properties.showInfo: true"
|
||||
type: Progress
|
||||
properties:
|
||||
showInfo: false
|
||||
percent: 30
|
||||
- id: "properties.status: success"
|
||||
type: Progress
|
||||
properties:
|
||||
status: success
|
||||
percent: 30
|
||||
- id: "properties.status: exception"
|
||||
type: Progress
|
||||
properties:
|
||||
status: exception
|
||||
percent: 30
|
||||
- id: "properties.status: normal"
|
||||
type: Progress
|
||||
properties:
|
||||
status: normal
|
||||
percent: 30
|
||||
- id: "properties.status: active"
|
||||
type: Progress
|
||||
properties:
|
||||
status: active
|
||||
percent: 30
|
||||
- id: "properties.strokeLinecap: square "
|
||||
type: Progress
|
||||
properties:
|
||||
strokeLinecap: square
|
||||
percent: 30
|
||||
- id: "properties.strokeColor: '#e91e63'"
|
||||
type: Progress
|
||||
properties:
|
||||
strokeColor: "#e91e63"
|
||||
percent: 30
|
||||
- id: "properties.trailColor: '#ff9800'"
|
||||
type: Progress
|
||||
properties:
|
||||
trailColor: "#ff9800"
|
||||
percent: 30
|
||||
- id: "properties.strokeColor: '#e91e63' trailColor: '#ff9800'"
|
||||
type: Progress
|
||||
properties:
|
||||
strokeColor: "#e91e63"
|
||||
trailColor: "#ff9800"
|
||||
percent: 30
|
||||
- id: "properties.strokeWidth: 18"
|
||||
type: Progress
|
||||
properties:
|
||||
strokeWidth: 18
|
||||
percent: 30
|
||||
- id: "properties.width: 180"
|
||||
type: Progress
|
||||
properties:
|
||||
width: 180
|
||||
type: circle
|
||||
percent: 30
|
||||
- id: "properties.gapDegree: 60"
|
||||
type: Progress
|
||||
properties:
|
||||
gapDegree: 60
|
||||
type: circle
|
||||
percent: 30
|
||||
- id: "properties.gapPosition: left"
|
||||
type: Progress
|
||||
properties:
|
||||
gapPosition: left
|
||||
gapDegree: 60
|
||||
type: circle
|
||||
percent: 30
|
||||
- id: "properties.gapPosition: right"
|
||||
type: Progress
|
||||
properties:
|
||||
gapPosition: right
|
||||
gapDegree: 60
|
||||
type: circle
|
||||
percent: 30
|
||||
- id: "properties.gapPosition: bottom"
|
||||
type: Progress
|
||||
properties:
|
||||
gapPosition: bottom
|
||||
gapDegree: 60
|
||||
type: circle
|
||||
percent: 30
|
||||
|
@ -14,7 +14,7 @@
|
||||
},
|
||||
"showInfo": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"default": true,
|
||||
"description": "Whether to display the progress value and the status icon."
|
||||
},
|
||||
"percent": {
|
||||
@ -25,6 +25,7 @@
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["success", "exception", "normal", "active"],
|
||||
"default": "active",
|
||||
"description": "Set the status of the Progress."
|
||||
},
|
||||
"strokeLinecap": {
|
||||
@ -63,6 +64,7 @@
|
||||
"gapPosition": {
|
||||
"type": "string",
|
||||
"enum": ["top", "bottom", "left", "right"],
|
||||
"default": "top",
|
||||
"description": "The gap position."
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user