Skip to content

Commit

Permalink
docs: deprecate controller.focus prop
Browse files Browse the repository at this point in the history
  • Loading branch information
igordanchenko committed Nov 3, 2023
1 parent 25dcc7d commit 994c026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ import "yet-another-react-lightbox/styles.css";
<p>Controller settings.</p>
<ul>
<li>`ref` - lightbox controller ref (see [Controller Ref](#ControllerRef) for details)</li>
<li>`focus` - if `true`, the lightbox captures focus when it opens</li>
<li>`focus` - deprecated, for internal use only</li>
<li>`aria` - if `true`, set ARIA attributes on the controller div</li>
<li>`touchAction` - controller touch-action setting</li>
<li>`closeOnPullDown` - if `true`, close the lightbox on pull-down gesture</li>
Expand Down

0 comments on commit 994c026

Please sign in to comment.