From 2cbfce211439e2d48e97a86f031ea01580ec24ab Mon Sep 17 00:00:00 2001 From: magrojd <91385443+magrojd@users.noreply.github.com> Date: Sat, 21 May 2022 02:37:07 +0800 Subject: [PATCH] [README.md] Fix incorrect syntax in the given example (#57) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 03616b3..3db760a 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ const CustomPropsBreadcrumb = ({ someProp }) => ( const routes = [ { path: '/users/:userId', breadcrumb: DynamicUserBreadcrumb }, { path: '/example', breadcrumb: 'Custom Example' }, - { path: '/custom-props, breadcrumb: CustomPropsBreadcrumb, props: { someProp: 'Hi' }}, + { path: '/custom-props', breadcrumb: CustomPropsBreadcrumb, props: { someProp: 'Hi' }}, ]; // map & render your breadcrumb components however you want.