🌐 AI搜索 & 代理 主页
Skip to content

Commit 1a29a5a

Browse files
authored
Update common-props.json
1 parent d3e9a33 commit 1a29a5a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/common-props.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,30 @@
2626
"options": {
2727
"description": "Array of items to render in the component"
2828
},
29-
"value-field": {
29+
"valueField": {
3030
"description": "Field name in the 'options' array that should be used for the value"
3131
},
32-
"text-field": {
32+
"textField": {
3333
"description": "Field name in the 'options' array that should be used for the text label"
3434
},
35-
"html-field": {
35+
"htmlField": {
3636
"description": "Field name in the 'options' array that should be used for the html label instead of text field. Use with caution."
3737
},
38-
"disabled-field": {
38+
"disabledField": {
3939
"description": "Field name in the 'options' array that should be used for the disabled state"
4040
},
4141
"plain": {
4242
"description": "Render the form control in plain mode, rahter than custom styled mode"
4343
},
44+
"static": {
45+
"description": "Renders the content of the component in-place in the DOM, rather than portalling it to be appended to the body element"
46+
},
4447
"role": {
4548
"description": "Sets the ARIA attribute 'role' to a specific value"
4649
},
50+
"ariaLive": {
51+
"description": "When the rendered element is an aria-live region (for screen reader users), set to either 'polite' or 'assertive'"
52+
},
4753
"fade": {
4854
"description": "When set to 'true', enables the fade animation/transition on the component"
4955
},

0 commit comments

Comments
 (0)