Skip to content

Commit

Permalink
docs: fix list key
Browse files Browse the repository at this point in the history
  • Loading branch information
cncolder committed Jun 13, 2020
1 parent 3afdb50 commit a208ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/components/List.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ import { UI } from '@/ui'
<ListItem title={<Text style={{ color: 'orange' }}>标题组件</Text>} extra={<Icon value="download" />} />
<ListItem title="子组件" arrow="right">
{['TaroX', 'UI', 'ListItem'].map((c) => (
<Tag style={{ marginRight: 20 }} size="small">
<Tag key={c} style={{ marginRight: 20 }} size="small">
{c}
</Tag>
</Tag>
))}
</ListItem>
<ListItem title="清除按钮" extra="2020-06-06" arrow="clear" onClear={() => alert('清除')} />
Expand Down

0 comments on commit a208ab3

Please sign in to comment.