https://github.com/gaetanozappi/react-native-circle
React Native library to generate Google plus circle.
https://github.com/gaetanozappi/react-native-circle
react-native
Last synced: 8 months ago
JSON representation
React Native library to generate Google plus circle.
- Host: GitHub
- URL: https://github.com/gaetanozappi/react-native-circle
- Owner: gaetanozappi
- License: apache-2.0
- Created: 2018-04-09T14:15:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T21:10:21.000Z (over 7 years ago)
- Last Synced: 2024-08-09T22:37:26.189Z (almost 2 years ago)
- Topics: react-native
- Language: JavaScript
- Homepage:
- Size: 97.7 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Native: react-native-circle
[](https://github.com/gaetanozappi/react-native-circle)
[](https://www.npmjs.com/package/react-native-circle)

[](https://github.com/gaetanozappi/react-native-circle)
[](https://www.npmjs.com/package/react-native-circle)
[](https://github.com/gaetanozappi/react-native-circle/issues)
[](https://github.com/gaetanozappi/react-native-circle/issues?q=is%3Aissue+is%3Aclosed)
[](http://github.com/gaetanozappi/react-native-circle/issues)
[]()

- [Usage](#-usage)
- [License](#-license)
## 📖 Getting started
`$ npm install react-native-circle --save`
## 💻 Usage
```javascript
import React, { Component } from 'react';
import Circle from 'react-native-circle';
export default class App extends Component {
constructor() {
super();
this.state = {
title: 'MyFriends',
array: [
'https://randomuser.me/api/portraits/women/0.jpg',
'https://randomuser.me/api/portraits/women/1.jpg',
'https://randomuser.me/api/portraits/women/2.jpg',
'https://randomuser.me/api/portraits/women/3.jpg',
'https://randomuser.me/api/portraits/women/4.jpg',
'https://randomuser.me/api/portraits/women/5.jpg',
'https://randomuser.me/api/portraits/women/6.jpg',
'https://randomuser.me/api/portraits/women/7.jpg',
'https://randomuser.me/api/portraits/women/8.jpg',
'https://randomuser.me/api/portraits/women/9.jpg',
//'https://randomuser.me/api/portraits/women/10.jpg',
//'https://randomuser.me/api/portraits/women/11.jpg',
//'https://randomuser.me/api/portraits/women/12.jpg',
//'https://randomuser.me/api/portraits/women/13.jpg',
//'https://randomuser.me/api/portraits/women/14.jpg',
//'https://randomuser.me/api/portraits/women/15.jpg',
//'https://randomuser.me/api/portraits/women/16.jpg',
//'https://randomuser.me/api/portraits/women/17.jpg',
//'https://randomuser.me/api/portraits/women/18.jpg',
//'https://randomuser.me/api/portraits/women/19.jpg',
//'https://randomuser.me/api/portraits/women/20.jpg',
],
};
}
render() {
return ;
}
}
```
## 💡 Props
| Prop | Type | Default | Note |
| ----------------- | ---------- | ------- | ---------------------------------------------------------------------------------------------------------- |
| `title` | `string` | | Circle title.
| `array` | `array` | | We need to pass an array of the image, as in the example.
## 📜 License
This library is provided under the Apache License.