UNPKG

react-collapsible-wrapper

Version:

Lightweight collapsible wrapper that is easy to use and customizable

22 lines (18 loc) 241 B
body { margin-top: 200px; } ul { margin: 0 auto; max-width: 500px; width: 100%; list-style: none; } button { font-size: 2rem; width: 100%; cursor: pointer; border: 2px solid; } .collapse-container { font-size: 1rem; }