const { isIAmHuman } = props; const widget = { styledComponents: "nomination.ndctools.near/widget/NDC.StyledComponents", }; const Header = styled.div` background: black; `; return ( <Header className="d-flex p-3 px-4 align-items-center rounded justify-content-between"> <Widget src="mob.near/widget/Image" props={{ image: { url: "https://pbs.twimg.com/profile_images/1622941553839816707/nmf3MWw1_400x400.jpg", }, alt: "ndc", style: { height: "42px", objectFit: "cover", }, fallbackUrl: "https://ipfs.near.social/ipfs/bafkreibmiy4ozblcgv3fm3gc6q62s55em33vconbavfd2ekkuliznaq3zm", }} /> {!isIAmHuman && ( <Widget src={widget.styledComponents} props={{ Link: { text: "Verify as Human", href: "https://i-am-human.app/", }, }} /> )} </Header> );