0.1.13 • Published 9 months ago
react-native-design v0.1.13
react-native-design
react-native-design have lot of ui components with lot of predefined function and features
Installation
npm install react-native-design
Required dependencies
npm i react-native-vector-icons @rnpack/utils
Usage
Components
Text
import { Text } from 'react-native-design';
// ...
<Text
testID="text"
variant="text"
numberOfLines={1}
style={styles?.text}
>
text
</Text>
// ...
Props
Prop name | Description | type |
---|---|---|
testID | Used for testing | string |
variant | Access different type of text | title | text | label | error | button |
numberOfLines | Number of lines for text | number |
style | Text styles | TextStyle |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
The MIT License.
Author
Thank you
Sponsors
Thank you to all our sponsors! Become a sponsor and get your image on our README on GitHub.