Skip to content

Commit

Permalink
Update API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Aug 9, 2023
1 parent 1c97331 commit 29791b8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions components/doc/common/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -22297,6 +22297,23 @@
],
"returnType": "boolean",
"description": "Custom hook to detect if window size matches or not."
},
"useOnEscapeKey": {
"name": "useOnEscapeKey",
"parameters": [
{
"name": "ref",
"type": "RefObject<Element>",
"description": "The ref of the element to detect escape button click."
},
{
"name": "callback",
"type": "any",
"description": "The callback to run when escape button clicked."
}
],
"returnType": "void",
"description": "Custom hook to use detect escape button click."
}
}
},
Expand Down Expand Up @@ -24774,6 +24791,14 @@
"type": "boolean",
"default": "false",
"description": "When enabled, it removes component related styles in the core."
},
{
"name": "closeOnEscape",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "true",
"description": "Specifies if pressing escape key should hide the preview."
}
]
},
Expand Down Expand Up @@ -32417,6 +32442,14 @@
"type": "boolean",
"default": "false",
"description": "When enabled, it removes component related styles in the core."
},
{
"name": "closeOnEscape",
"optional": true,
"readonly": false,
"type": "boolean",
"default": "true",
"description": "Specifies if pressing escape key should hide the preview."
}
]
},
Expand Down

0 comments on commit 29791b8

Please sign in to comment.