import React from 'react'; import PropTypes from 'prop-types'; import Box from '../../ui/box'; import Button from '../../ui/button'; import Typography from '../../ui/typography/typography'; import NewCollectiblesNotice from '../new-collectibles-notice'; import { COLORS, TYPOGRAPHY, TEXT_ALIGN, JUSTIFY_CONTENT, FLEX_DIRECTION, FONT_WEIGHT, } from '../../../helpers/constants/design-system'; import { useI18nContext } from '../../../hooks/useI18nContext'; export default function CollectiblesList({ onAddNFT }) { const collectibles = []; const newNFTsDetected = true; const t = useI18nContext(); return (
{collectibles.length > 0 ? ( {JSON.stringify(collectibles)} ) : ( {newNFTsDetected ? : null} {t('noNFTs')} {t('missingNFT')} )}
); } CollectiblesList.propTypes = { onAddNFT: PropTypes.func.isRequired, };