react-list-section
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-list-section

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save react-list-section

Usage

import React from 'react'


import 'react-list-sectionlist/dist/index.css'

import React from "react";
import SectionList from "react-list-section";

const Home = () => {
  return (
    <>
      <SectionList
        sections={[{ data: [{ id: 5 }], title: "abcd" }]}
        renderSectionHeader={(a) => <div>{a.title}</div>}
        renderItem={(el) => <div>{el.id}</div>}
      />
    </>
  );
};

export default Home;

License

MIT © yunusyavuz16

Package Sidebar

Install

npm i react-list-section

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

65.9 kB

Total Files

18

Last publish

Collaborators

  • yunusyavuz16