import React, { useState } from 'react';
function AccordionTableRichItem(props) {
const [open, setOpen] = useState(false);
return (
|
|
{props.email}
|
{props.location}
|
{props.date}
|
{props.amount}
|
|
{/*
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.descriptionTitle}
{props.descriptionBody}
|
);
}
export default AccordionTableRichItem;