Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ispirett/react-native-convenience
React native components for everyday use
https://github.com/ispirett/react-native-convenience
Last synced: 6 days ago
JSON representation
React native components for everyday use
- Host: GitHub
- URL: https://github.com/ispirett/react-native-convenience
- Owner: Ispirett
- Created: 2019-03-01T01:33:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-18T05:34:27.000Z (almost 6 years ago)
- Last Synced: 2025-01-05T02:34:29.928Z (15 days ago)
- Language: JavaScript
- Homepage:
- Size: 362 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-native-convenience
##Convenient components for android and ios```bash
npm install --save react-native-convenience
```### TOAST
```javascript
TOAST('whatever you want here', 'short', "top")
msg: anything you want
duration: short || long
position: top || bottom, default is center
```### ListItems
```bash
import {listStyles} from react-native-convenience
```
```javascript
this.anyFunction}
name={item.name}
short_description={item.short_description}
price={price}
image={{uri:item.image}} OR image={require('./file')}
/>```
#### PropsTypes
* onPress
* name
* short_description
* image
* price
* mainStyles // for backgroundColor
* imageStyles // width and height#### picture example
![alt text](/assets/image.png)