diff --git a/components/doc/common/apidoc/index.json b/components/doc/common/apidoc/index.json index 1aa2b12ef4..d8c139638e 100644 --- a/components/doc/common/apidoc/index.json +++ b/components/doc/common/apidoc/index.json @@ -20840,7 +20840,7 @@ }, { "name": "layout", - "optional": false, + "optional": true, "type": "\"grid\" | \"list\" | string & Record", "description": "Current layout." } @@ -20858,12 +20858,12 @@ }, { "name": "layout", - "optional": false, + "optional": true, "type": "\"grid\" | \"list\" | string & Record", "description": "Current layout." } ], - "returnType": "ReactNode[]", + "returnType": "undefined | ReactNode[]", "description": "Function that gets the options along with the layout mode and returns the content." }, {