react-accordion-customizable
v1.0.1
Published
React Accordion Customizable
Downloads
3
Readme
react-accordion-customizable
React Accordion Customizable
Simple Customizable React Accordion Component
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.