react-native-rn-horizontal-list
v0.1.3
Published
simple horizontal list
Downloads
4
Readme
react-native-rn-horizontal-list
React Native Horizontal List
A simple react native horizontal list
Installation
npm install react-native-rn-horizontal-list
or
yarn add react-native-rn-horizontal-list
Usage
import React, { useState, useEffect } from 'react';
import RNHorizontalList from "react-native-rn-horizontal-list";
export default () => {
const [loading, setLoading] = useState(true);
const [data, setData] = useState([]);
return (
<RNHorizontalList
loading={loading}
title="New Releases"
data={data}
/>
);
}
Props
loading: boolean;
title: string | null;
data: any[];
View Sample
import {HorizontalListExample} from "react-native-rn-horizontal-list";
export default () => {
return (
<HorizontalListExample />
);
}
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT