Skip to content

Commit

Permalink
docs: fixs docs app
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaofan2406 committed Jun 16, 2023
1 parent 4f6fc0c commit 6a50e20
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 42 deletions.
79 changes: 39 additions & 40 deletions www/containers/props.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,15 @@
"name": "shape",
"value": {
"id": {
"name": "string",
"name": "union",
"value": [
{
"name": "string"
},
{
"name": "number"
}
],
"required": true
},
"label": {
Expand Down Expand Up @@ -605,7 +613,15 @@
"name": "shape",
"value": {
"id": {
"name": "string",
"name": "union",
"value": [
{
"name": "string"
},
{
"name": "number"
}
],
"required": true
},
"label": {
Expand Down Expand Up @@ -639,6 +655,13 @@
"value": "false",
"computed": false
}
},
"className": {
"type": {
"name": "string"
},
"required": false,
"description": ""
}
}
}
Expand Down Expand Up @@ -2484,12 +2507,8 @@
"type": {
"name": "func"
},
"required": false,
"description": "",
"defaultValue": {
"value": "() => {\n throw new Error('AdslotUi ListPicker needs a modalApply handler');\n}",
"computed": false
}
"required": true,
"description": ""
},
"modalDescription": {
"type": {
Expand All @@ -2513,12 +2532,8 @@
"type": {
"name": "func"
},
"required": false,
"description": "",
"defaultValue": {
"value": "() => {\n throw new Error('AdslotUi ListPicker needs a modalClose handler');\n}",
"computed": false
}
"required": true,
"description": ""
},
"modalFootnote": {
"type": {
Expand Down Expand Up @@ -2573,12 +2588,8 @@
"type": {
"name": "func"
},
"required": false,
"description": "",
"defaultValue": {
"value": "() => {\n throw new Error('AdslotUi ListPickerPure needs a deselectItem handler');\n}",
"computed": false
}
"required": true,
"description": ""
},
"emptyMessage": {
"type": {
Expand Down Expand Up @@ -2667,12 +2678,8 @@
"type": {
"name": "func"
},
"required": false,
"description": "",
"defaultValue": {
"value": "() => {\n throw new Error('AdslotUi ListPickerPure needs a selectItem handler');\n}",
"computed": false
}
"required": true,
"description": ""
},
"selectedItems": {
"type": {
Expand Down Expand Up @@ -6524,7 +6531,7 @@
"required": false,
"description": "",
"defaultValue": {
"value": "(node) => {\n throw new Error(`AdslotUi TreePickerNode needs an includeNode handler for ${node}`);\n}",
"value": "(node) => {\n console.error(`AdslotUi TreePickerNode needs an includeNode handler for ${node.id}`);\n}",
"computed": false
}
},
Expand Down Expand Up @@ -6561,7 +6568,7 @@
"required": false,
"description": "",
"defaultValue": {
"value": "(node) => {\n throw new Error(`AdslotUi TreePickerNode needs a removeNode handler for ${node}`);\n}",
"value": "(node) => {\n console.error(`AdslotUi TreePickerNode needs a removeNode handler for ${node.id}`);\n}",
"computed": false
}
},
Expand Down Expand Up @@ -6676,12 +6683,8 @@
"type": {
"name": "func"
},
"required": false,
"description": "",
"defaultValue": {
"value": "() => {\n throw new Error('AdslotUi UserListPicker needs a modalApply handler');\n}",
"computed": false
}
"required": true,
"description": ""
},
"modalDescription": {
"type": {
Expand All @@ -6698,12 +6701,8 @@
"type": {
"name": "func"
},
"required": false,
"description": "",
"defaultValue": {
"value": "() => {\n throw new Error('AdslotUi UserListPicker needs a modalClose handler');\n}",
"computed": false
}
"required": true,
"description": ""
},
"modalTitle": {
"type": {
Expand Down
4 changes: 2 additions & 2 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
You need to enable JavaScript to run this app.
</noscript>
<div id="app"></div>
<script src="https://unpkg.com/react@16/umd/react.production.min.js" integrity="sha384-N7y5SSAooNlIfb9H750GR82ufkn1JXJFaCjg8pmt+OZuKcZoTvTGfog4d4taG/cF" crossorigin="anonymous"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js" integrity="sha384-j7WmMv3OO6n8pZRATOsaMVEdZcHpoaTBIika/l92YM2AkEex72QunlTQlgmu+pI8" crossorigin="anonymous"></script>
<script src="https://unpkg.com/react@18/umd/react.production.min.js" integrity="sha384-tMH8h3BGESGckSAVGZ82T9n90ztNXxvdwvdM6UoR56cYcf+0iGXBliJ29D+wZ/x8" crossorigin="anonymous"></script>
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js" integrity="sha384-bm7MnzvK++ykSwVJ2tynSE5TRdN+xL418osEVF2DE/L/gfWHj91J2Sphe582B1Bh" crossorigin="anonymous"></script>
<script src="https://unpkg.com/moment@2.29.4/min/moment.min.js" integrity="sha384-2xoILS8hBHw+Atyv/qJLEdk8dFdW1hbGjfeQ3G0GU3pGNPlqck0chRqjMTZ5blGf" crossorigin="anonymous"></script>
<script src="https://unpkg.com/lodash@4.17.21/lodash.min.js" integrity="sha384-H6KKS1H1WwuERMSm+54dYLzjg0fKqRK5ZRyASdbrI/lwrCc6bXEmtGYr5SwvP1pZ" crossorigin="anonymous"></script>
</body>
Expand Down

0 comments on commit 6a50e20

Please sign in to comment.