import { Box, chakra } from '@chakra-ui/react' import NextImage from 'next/image' import * as React from 'react' interface TweetCardProps { name: string image: string handle: string date: string url: string content: string } const ChakraNextUnwrappedImage = chakra(NextImage, { shouldForwardProp: (prop) => ['src', 'alt', 'layout', 'loading'].includes(prop), }) function TweetCard(props: TweetCardProps) { const { name, handle, content, url } = props const image = `/avatars/${handle}.jpg` return (

{name}{' '} {handle}


'), }} />
) } export default TweetCard