import React from 'react' import "./style.css" import {MdVerified} from "react-icons/md" import SearchSongRow from '../search/SearchSongRow' const ArtistDetails = ({artistDetails}) => { const color = artistDetails?.data?.artist?.visuals?.avatarImage?.extractedColors?.colorRaw?.hex; return (
{/* upper section */}
{artistDetails?.data?.artist?.profile?.verified ? (

Verified Artist

) : (<>)}

{artistDetails?.data?.artist?.profile?.name}

{artistDetails?.data?.artist?.stats?.followers} followers
{artistDetails?.data?.artist?.stats?.monthlyListeners} monthly Listener
{/* TOP Tracks */}
{ artistDetails?.data?.artist?.discography?.topTracks && (

Top Tracks

{ artistDetails?.data.artist?.discography?.topTracks?.items.map((item,index)=>{ return( ) }) }
) }
{/* ABOUT artist */}

About

{artistDetails?.data?.artist?.profile?.biography?.text ? (artistDetails?.data?.artist?.profile?.biography?.text ) : (

No details found

)}
) } export default ArtistDetails