Skip to content

Commit 8ae7f54

Browse files
committed
style:修改icon组件样式
1 parent 7dddeaa commit 8ae7f54

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

example/examples/src/routes/Icon/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ export default class IconPage extends React.Component<IconPageProps> {
296296
size={18}
297297
style={styles.icon}
298298
/>
299+
<Icon name='apple' size={18} color='#50CB42' />
299300
</Card>
300301
<Card title="UIW Icon" extra={<LinkButtons />}>
301302
<View style={styles.list}>

packages/core/src/Icon/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class Demo extends Component {
1414
return (
1515
<View>
1616
<Icon name='apple' size={46} color='#50CB42' />
17+
<Icon name='apple' size={46} fill='red' />
1718
</View>
1819
)
1920
}

0 commit comments

Comments
 (0)