import React from 'react'; import { CollectionInterface } from '../interfaces'; import { Box, Stack, Typography, useTheme } from '@mui/material'; import { Card, OneLineTypography, SquareBox } from './style'; import { Iconfont } from './icon'; import { handleUri } from '../helpers/helper'; export interface CollectionCardProps { collection: CollectionInterface | undefined; onClick: any; } export const CollectionCard = ({ collection, onClick, }: CollectionCardProps) => { const theme = useTheme(); return ( {'collection'} {collection?.name} {collection?.mch_name} ); };