export const TableRow = ({ items, className }) => { return ( {items.map((item, index) => ( {item} ))} ) } // TODO add animations to updated table // import { Transition } from 'react-transition-group' // export function TableRow({ items, key }) { // const defaultStyle = { // transition: `opacity 500ms ease-in-out`, // opacity: 0, // } // const transitionStyles = { // entering: { opacity: 1 }, // entered: { opacity: 1 }, // exiting: { opacity: 0 }, // exited: { opacity: 0 }, // }; // let rowItems = (<>{items.map((item) => { // // {item} // // })}) // console.log(items, rowItems) // return ( // {state => ( // // {rowItems} // )} // // ) // }