1.0.2 • Published 5 years ago
react-native-text-radius v1.0.2
react-native-text-radius
让react-native的Text支持圆角属性、设置每边的边框、设置每个角的圆角属性
使用方法
npm install react-native-text-radius
or
yarn add react-native-text-radiusimport TextRadius from 'react-native-text-radius'
<TextRadius style={{borderRadius: 20,padding: 10,backgroundColor: '#666',color: '#fff',fontSize: 12,textAlign: 'center'}}>文本内容<\/TextRadius>