import React, { useState } from 'react'; function AccordionTableItem(props) { const [open, setOpen] = useState(false); return (
{props.customer}
{props.customer}
{props.total}
{props.status}
{props.items}
{props.location}
{props.type}
{/* Example of content revealing when clicking the button on the right side: Note that you must set a "colSpan" attribute on the element, and it should match the number of columns in your table */}
{props.description}
); } export default AccordionTableItem;