import React, { useState } from 'react';
function AccordionTableItem(props) {
const [open, setOpen] = useState(false);
return (
|
|
{props.total}
|
{props.status}
|
{props.items}
|
{props.location}
|
|
|
{/*
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
*/}
|
|
|
);
}
export default AccordionTableItem;