Skip to content

Commit

Permalink
docs: update Breadcrumb English doc (ant-design#7490)
Browse files Browse the repository at this point in the history
Fixed minor typos.
  • Loading branch information
khalibloo authored and benjycui committed Sep 8, 2017
1 parent 1746e1f commit 224e65f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/breadcrumb/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ A breadcrumb displays the current location within a hierarchy. It allows going b
| Property | Description | Type | Optional | Default |
|-----------|-----------------------------------|-----------------|---------|--------|
| routes | The routing stack information of router | object[] | | - |
| params | Routing parameter | object | | - |
| separator | Custom separator | string\|ReactNode | | '/' |
| params | Routing parameters | object | | - |
| separator | Custom separator | string\|ReactNode | | `/` |
| itemRender | Custom item renderer | (route, params, routes, paths) => ReactNode | | - |

> `linkRender` and `nameRender` were removed after `[email protected]`, please use `itemRender` instead.
### Use with browserHistory

The link of Breadcrumb item contain `#` defaultly, you can use `itemRender` to make `browserHistory` Link.
The link of Breadcrumb item targets `#` by default, you can use `itemRender` to make a `browserHistory` Link.

```jsx
import { Link } from 'react-router';
Expand Down

0 comments on commit 224e65f

Please sign in to comment.