@ant-design/icons#LinkedinFilled TypeScript Examples

The following examples show how to use @ant-design/icons#LinkedinFilled. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ProfileCard.tsx    From office-hours with GNU General Public License v3.0 5 votes vote down vote up
export default function ProfileCard({
  name,
  role,
  linkedin,
  personalSite,
  imgSrc,
}: {
  name: string;
  role: string;
  linkedin?: string;
  personalSite?: string;
  imgSrc: string;
}): ReactElement {
  return (
    <StyledCard>
      <img width={200} alt={`${name}'s profile image`} src={imgSrc} />
      <ImageOverlay />
      <CardContents>
        <CardTitle>{name}</CardTitle>
        <div>{role}</div>
        <LinkIcons>
          {linkedin && (
            <NavyLink href={linkedin} target="_blank" rel="noopener noreferrer">
              <LinkedinFilled title="LinkedIn" style={{ cursor: "pointer" }} />
            </NavyLink>
          )}
          {personalSite && (
            <NavyLink
              href={personalSite}
              target="_blank"
              rel="noopener noreferrer"
            >
              <LinkOutlined
                title="Personal Website"
                style={{ cursor: "pointer" }}
              />
            </NavyLink>
          )}
        </LinkIcons>
      </CardContents>
    </StyledCard>
  );
}