Skip to content

alanyong91/react-native-rn-horizontal-list

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published