Commit 1152d6d4 authored by nikogu's avatar nikogu

fixed TagSelect demo & PageHeader index

parent 8b48d540
...@@ -50,7 +50,7 @@ export default class PageHeader extends PureComponent { ...@@ -50,7 +50,7 @@ export default class PageHeader extends PureComponent {
<Breadcrumb className={styles.breadcrumb}> <Breadcrumb className={styles.breadcrumb}>
{ {
breadcrumbList.map(item => ( breadcrumbList.map(item => (
<Breadcrumb.Item> <Breadcrumb.Item key={item.title}>
{item.href ? <a href="">{item.title}</a> : item.title} {item.href ? <a href="">{item.title}</a> : item.title}
</Breadcrumb.Item>) </Breadcrumb.Item>)
) )
......
...@@ -6,7 +6,7 @@ title: Simple ...@@ -6,7 +6,7 @@ title: Simple
简单的页头。 简单的页头。
````jsx ````jsx
import TagSelect from 'ant-design-pro/lib/CountDown'; import TagSelect from 'ant-design-pro/lib/TagSelect';
const TagOption = TagSelect.Option; const TagOption = TagSelect.Option;
const TagExpand = TagSelect.Expand; const TagExpand = TagSelect.Expand;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment