From 0922ee202ad3eb96c17812b9b72444a109bff88a Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Sun, 20 Feb 2022 21:43:45 -0500 Subject: [PATCH] update docs --- docs/components/dialog.md | 2 ++ docs/components/drawer.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/components/dialog.md b/docs/components/dialog.md index 7d332113c..ec000f4e3 100644 --- a/docs/components/dialog.md +++ b/docs/components/dialog.md @@ -276,4 +276,6 @@ const App = () => { }; ``` +?> Alternatively, you can add the `autofocus` attribute to any form control to customize initial focus without using JavaScript. + [component-metadata:sl-dialog] diff --git a/docs/components/drawer.md b/docs/components/drawer.md index fab6c3d47..9b9a62fcb 100644 --- a/docs/components/drawer.md +++ b/docs/components/drawer.md @@ -464,4 +464,6 @@ const App = () => { }; ``` +?> Alternatively, you can add the `autofocus` attribute to any form control to customize initial focus without using JavaScript. + [component-metadata:sl-drawer]