Skip to content

Commit aa55b51

Browse files
committed
refactor: 用 AtIcon 替代 Text
1 parent bb354e0 commit aa55b51

File tree

1 file changed

+2
-1
lines changed
  • packages/taro-ui-demo-rn/src/pages/index

1 file changed

+2
-1
lines changed

packages/taro-ui-demo-rn/src/pages/index/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react'
22
import { Image, Text, View } from '@tarojs/components'
33
import Taro, { ShareAppMessageReturn } from '@tarojs/taro'
4+
import { AtIcon } from 'taro-ui'
45
import iconAction from '../../assets/images/icon-list-action.png'
56
import iconBasic from '../../assets/images/icon-list-basic.png'
67
import iconForm from '../../assets/images/icon-list-form.png'
@@ -130,7 +131,7 @@ export default class Index extends React.Component<{}, IndexState> {
130131
</View>
131132
</View>
132133
<View className='module-list__arrow'>
133-
<Text className='at-icon at-icon-chevron-right' />
134+
<AtIcon value='chevron-right' color='#fff' size='20' />
134135
</View>
135136
</View>
136137
))}

0 commit comments

Comments
 (0)