restructuring

This commit is contained in:
2022-07-26 13:52:47 -05:00
parent 94f7f2c75c
commit ae4109a5fa
12 changed files with 84 additions and 53 deletions

View File

@@ -1,10 +1,7 @@
import { v4 } from 'uuid';
import { CardData, StateProps } from "../../util/types"
import { CardRowProps } from '../../util/propTypes';
import { CardData } from "../../util/types"
import Card from "../Card/Card"
interface CardRowProps extends StateProps {
tier: number
}
import { v4 } from 'uuid';
export default function CardRow({tier, state, setState}: CardRowProps) {
let cards: Array<CardData>