From d98d04150fdf88f04b18b0f4e487e6d60ea845f8 Mon Sep 17 00:00:00 2001 From: Martin Herndl Date: Thu, 15 Sep 2022 12:00:54 +0200 Subject: [PATCH] Add missing props in docs layout examples --- docs/Authentication.md | 2 +- docs/Theming.md | 2 +- docs/Upgrade.md | 2 +- docs/useLogout.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Authentication.md b/docs/Authentication.md index 2215fb0a143..37744f1124f 100644 --- a/docs/Authentication.md +++ b/docs/Authentication.md @@ -280,7 +280,7 @@ const MyUserMenu = () => ; const MyAppBar = () => } />; -const MyLayout = () => ; +const MyLayout = (props) => ; const App = () => ( diff --git a/docs/Theming.md b/docs/Theming.md index f30cc88fa8c..0bbcbe55934 100644 --- a/docs/Theming.md +++ b/docs/Theming.md @@ -970,7 +970,7 @@ const MyUserMenu = () => ; const MyAppBar = () => } />; -const MyLayout = () => ; +const MyLayout = (props) => ; const App = () => ( diff --git a/docs/Upgrade.md b/docs/Upgrade.md index 71fa827d688..a40f001e99a 100644 --- a/docs/Upgrade.md +++ b/docs/Upgrade.md @@ -2924,7 +2924,7 @@ const MyCustomLogout = () => ; + const MyAppBar = () => } />; -+ const MyLayout = () => ; ++ const MyLayout = (props) => ; const MyAdmin = () => ( ( } /> ); -const MyLayout = () => ( - +const MyLayout = (props) => ( + ); export default MyLayout;