React FAQ Accordion
$3
Frequently Asked Questions Component for React

$3
``
bash
npm i react-faq-acordion
`
$3
`
const data = [
{ title:'Heading 1',
paragraph: 'Some text Here'},
{ title:'Heading 2',
paragraph: 'Some text Here 2'}
]
`
$3
`
bash
import { Accordion } from 'react-faq-acordion';
const someComponent = ()=>(
data={data}
theme='dark'
/>
)
``
$3
$3
The component is set to 90% available width and margin 0 auto.
To set a max-width wrap it in a div tag or similar with a custom max-width to your need.
$3
| Prop | Type | Is Required? | Options |
|:-----:|:------:|:------------:|------------------------|
| data | Array | Required | Array with objects |
| theme | String | Optional | dark,green,netflix,blue,purple |
netflix has a netflix faq style
#### data=[Array] : Type = Array, Scheme in the first comments.
$3
Screenshot
Available on Github


