Labels, often used to display rows of data with characteristic variables.
customer type
Product Types
the current state of the object
{"state": {"bind": "status","view": {"type": "Tag","props": {"options": [{"label": "On","value": "enabled","color": "#41b883"},{"label": "Close","value": "disabled","color": "#f50"}]}}}}
interface IProps extends TagProps {options: Array<Option>remote?: Requestpure?: boolean}interface Option {label: stringvalue: stringcolor?: string}interface Request {api: stringparams?: { [key: string]: Common.DynamicValue }}
Properties | Description | Type | Default | Required | Version |
---|---|---|---|---|---|
options | possible options | Array<Option> | - | no | |
remote | use the requested data | Request | - | no | |
pure | no style | boolean | - | no |
Properties | Description | Type | Required |
---|---|---|---|
label | text | string | yes |
color | background color | string | no |
Properties | Description | Type | Required |
---|---|---|---|
label | text | string | yes |
value | option value | string | number | yes |
color | background color | string | no |
For other properties, see Antd Tag
Labels, often used to display rows of data with characteristic variables.
customer type
Product Types
the current state of the object
{"state": {"bind": "status","view": {"type": "Tag","props": {"options": [{"label": "On","value": "enabled","color": "#41b883"},{"label": "Close","value": "disabled","color": "#f50"}]}}}}
interface IProps extends TagProps {options: Array<Option>remote?: Requestpure?: boolean}interface Option {label: stringvalue: stringcolor?: string}interface Request {api: stringparams?: { [key: string]: Common.DynamicValue }}
Properties | Description | Type | Default | Required | Version |
---|---|---|---|---|---|
options | possible options | Array<Option> | - | no | |
remote | use the requested data | Request | - | no | |
pure | no style | boolean | - | no |
Properties | Description | Type | Required |
---|---|---|---|
label | text | string | yes |
color | background color | string | no |
Properties | Description | Type | Required |
---|---|---|---|
label | text | string | yes |
value | option value | string | number | yes |
color | background color | string | no |
For other properties, see Antd Tag