import { IonBadge, IonIcon, IonItem, IonLabel, IonReorder } from '@ionic/react'; import { arrowBackOutline, arrowForwardOutline } from 'ionicons/icons'; import styles from '../../pages/Kanban.module.scss'; export const BoardItem = ({ id, item, index, type, moveToggled, handleMove, }): React.JSX.Element => (

{item.name}

 {type.name}

{item.summary}

{item.labels.map((label, index2) => { return ( {label}    ); })}
{id !== 1 && moveToggled && (
handleMove(e, 'Left', id, id - 1, item.id)} >
)} {id !== 3 && moveToggled && (
handleMove(e, 'Right', id, id + 1, item.id)} >
)}
);