import { PropTypes } from 'react';

const CardPropTypes = {
  id: PropTypes.number,
  name: PropTypes.string,
  type: PropTypes.string,
  colour: PropTypes.string,
  manaCost: PropTypes.string,
  numberCopies: PropTypes.number,
  rarity: PropTypes.string,
};

export {
  CardPropTypes,
};

import { PropTypes } from 'react';

const CardPropTypes = {
  id: PropTypes.number,
  name: PropTypes.string,
  types: PropTypes.arrayOf(PropTypes.string),
  colour: PropTypes.string,
  manaCost: PropTypes.string,
  numberCopies: PropTypes.number,
  rarity: PropTypes.string,
};

export {
  CardPropTypes,
};

Change Card proptypes accordingly to backend data
Change Card proptypes accordingly to backend data
