forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update Breadcrumb English doc (ant-design#7490)
Fixed minor typos.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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'; | ||
|