This is a component made with react, it receives two props "header" and "paragraph" and it works like any accordion should work, it also calculates the heigh of the text dynamically.
- HTML
- CSS
- Tailwind.css
- JavaScipt, React, JSX
To get a local copy up and running follow these simple example steps.
- Go to the main page of te repo.
- Press the
Code
button and get the repo link. - Clone it using git.
- Run
npm install
in your terminal inside the project folder.
π€ Cecilia Benitez
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
This project is MIT licensed.