1.0.2 • Published 1 year ago

react-list-section v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago