Skip to content

Commit

Permalink
Updated Readme (#68)
Browse files Browse the repository at this point in the history
Changed slightly confusing spelling mistakes
  • Loading branch information
LouisMuriuki committed Sep 20, 2022
1 parent 385bc41 commit a51f9e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const DynamicUserBreadcrumb = ({ match }) => (
const CustomPropsBreadcrumb = ({ someProp }) => <span>{someProp}</span>;

// define custom breadcrumbs for certain routes.
// breadcumbs can be components or strings.
// breadcrumbs can be components or strings.
const routes = [
{ path: "/users/:userId", breadcrumb: DynamicUserBreadcrumb },
{ path: "/example", breadcrumb: "Custom Example" },
Expand Down Expand Up @@ -158,7 +158,7 @@ const CustomPropsBreadcrumb = ({ someProp }) => (
);

// define custom breadcrumbs for certain routes.
// breadcumbs can be components or strings.
// breadcrumbs can be components or strings.

// map & render your breadcrumb components however you want.
const BreadcrumbTrail = ({ breadCrumbs }) => {
Expand Down

0 comments on commit a51f9e6

Please sign in to comment.