1.0.1 • Published 2 years ago

react-accordion-customizable v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

react-accordion-customizable

React Accordion Customizable

Simple Customizable React Accordion Component

Example

Example

Github

https://github.com/georgeCXG/react-accordion-customizable

Install

npm install --save react-accordion-customizable

Usage

import { Accordion } from 'react-accordion-customizable';

const Component = () => {
    return (
        <div>
            <Accordion onChangeStatus={(status) => setState(status)}>
                <Accordion.Item label="Label_1">
                    <Component />
                </Accordion.Item>
                <Accordion.Item label="Label_2">
                    <Component />
                </Accordion.Item>
            </Accordion>
        </div>
    );
};

Props

Accordion Props

Accordion Item PROPS

License

react-accordion-customizable is released under the MIT license.