| | |
| | | import Card from './card' |
| | | import './index.scss' |
| | | |
| | | const Container = ({list, selectId, tabtype, handleList, handleGroup, closeGroup, selectGroup}) => { |
| | | const Container = ({list, labelSize, selectId, tabtype, handleList, handleGroup, closeGroup, selectGroup}) => { |
| | | const [cards, setCards] = useState(list) |
| | | const moveCard = (id, atIndex) => { |
| | | const { card, index } = findCard(id) |
| | |
| | | id={card.uuid} |
| | | key={card.uuid} |
| | | sort={i + 1} |
| | | labelSize={labelSize} |
| | | active={card.uuid === selectId} |
| | | card={card} |
| | | moveCard={moveCard} |