import React, { useState } from 'react';
function ProfileTableItem(props) {
const [descriptionOpen, setDescriptionOpen] = useState(false);
return (
<>
|
|
{props.value}
{props.property}
|
{(props.status === 'Progress') ? (
{props.status}
) :
(props.status === 'Stored') ? (
{props.status}
) :
(props.status === 'Completed') ? (
{props.status}
) : (
{props.status}
)
}
|
{(props.avatars) ? (
props.avatars.map((avatar, index) => (

))
): null}
|
{/* Button */}
|
|
{/* Progress validation bar */}
Today
{/* List item */}
{props.transactions.map((data, index) => (
-
{(props.transactions[index+1]) ? (
) : null}
))}
|
>
);
}
export default ProfileTableItem;