import { useState } from 'react' /* * DaisyUI's accordion seems rather unreliable. * So instead, we handle this in React state */ export const Accordion = ({ items, // Items in the accordion }) => { const [active, setActive] = useState() return ( ) } export const SubAccordion = ({ items, // Items in the accordion }) => { const [active, setActive] = useState() return ( ) }