Skip to content

Commit

Permalink
hotfix(Breadcrumb): content with children and example name (microsoft…
Browse files Browse the repository at this point in the history
…#14956)

#### Pull request checklist

- [ ] Addresses an existing issue: Fixes #0000
- [ ] Include a change request file using `$ yarn change`

#### Description of changes

This PR renames the `BreadcrumbExample` to `BreadcrumbExampleBasic` to avoid the warning that is missing some example and fixes the console warning about `children` and `content` conflicting on `BreadcrumbDivider`

#### Focus areas to test

(optional)
  • Loading branch information
assuncaocharles authored Sep 10, 2020
1 parent ad0ebb5 commit 764d61e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Types = () => (
<ComponentExample
title="Default"
description="A default breadcrumb."
examplePath="components/Breadcrumb/Types/BreadcrumbExample"
examplePath="components/Breadcrumb/Types/BreadcrumbExampleBasic"
/>
</ExampleSection>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const BreadcrumbDivider = compose<'span', BreadcrumbDividerProps, Breadcr

BreadcrumbDivider.defaultProps = {
as: 'span',
content: '/',
children: '/',
accessibility: breadcrumbDividerBehavior,
};

Expand Down

0 comments on commit 764d61e

Please sign in to comment.