Created
April 2, 2023 21:50
-
-
Save mehmetext/292bc39704476d64cde0462002e59d66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function Accordion() { | |
return ( | |
<div className="flex flex-col border border-blue-500 rounded-xl overflow-hidden"> | |
<div className="bg-blue-500 text-white p-4 select-none cursor-pointer"> | |
AccordionHeader | |
</div> | |
<div className="overflow-hidden transition-all duration-300"> | |
<div className="p-4 bg-blue-50"> | |
<p> | |
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Corrupti | |
optio quo ducimus laboriosam velit voluptas omnis illo tempora. Vero | |
natus aliquam pariatur quae, incidunt excepturi! Error eos earum | |
velit eveniet. | |
</p> | |
</div> | |
</div> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment