Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/akinncar/rn-mirror-lists

🪞 Mirror scroll lists for React Native
https://github.com/akinncar/rn-mirror-lists

expo react-native scrollview

Last synced: 15 days ago
JSON representation

🪞 Mirror scroll lists for React Native

Lists

README

        

# rn-mirror-lists

Mirror scroll lists for React Native





## Installation

```sh
yarn add rn-mirror-lists
```

## Usage

```js
import { MirrorLists } from 'rn-mirror-lists';

// ...

const data = [
{
id: 1,
image: 'https://avatars.githubusercontent.com/u/42688281?v=4',
description: 'This guy is really amazing',
},
];

// ...

item.id.toString()}
horizontalRenderItem={({ item }) => (

)}
verticalRenderItem={({ item }) => (
{item.description}
)}
reverse={false} // optional
/>
```

## Example App

You can run the exmaple app on `/example` folder.

```sh
cd example && yarn start
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

## Contact

Akinn Rosa - [Github](https://github.com/akinncar) - **[[email protected]](mailto:[email protected])**