Skip to content

Commit

Permalink
docs: Update wrong usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fwh1990 committed Sep 30, 2019
1 parent 0744cbe commit c3c6abd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ import Icon from '../src/iconfont/Icon';

export const App = () => {
return (
<div>
<View>
<Icon name="alipay" size={20} />
<Icon name="wechat" />
</div>
</View>
);
};
```
Expand All @@ -136,10 +136,10 @@ import IconWechat from '../src/iconfont/IconWechat';

export const App = () => {
return (
<div>
<View>
<IconAlipay size={20} />
<IconWechat />
</div>
</View>
);
};
```
Expand Down

0 comments on commit c3c6abd

Please sign in to comment.