@material-ui/icons#Email JavaScript Examples

The following examples show how to use @material-ui/icons#Email. 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: PersonCard.jsx    From frontend with MIT License 5 votes vote down vote up
PersonCard = ({ person }) => {
  const classes = useStyles();
  return (
    <Paper className={classes.paper}>
      <Grid container wrap="nowrap" spacing={2}>
        <Grid item>
          <PersonAvatar
            className={classes.avatar}
            src={person.avatarUrl}
            name={person.name}
            size="large"
          />
        </Grid>
        <Grid item xs zeroMinWidth>
          <Grid container className={classes.nameWrapper}>
            <Typography className={classes.name} noWrap>
              {person.name}
            </Typography>
          </Grid>
          <LinkWithIcon
            href={`mailto:${person.email}`}
            label={person.email}
            icon={Email}
          />
          <LinkWithIcon
            href={`tel:${person.email}`}
            label={person.phone}
            icon={PhoneIphone}
          />
          {/* TODO: Prepare website link if they aren't validated on backend (without protocols) */}
          <LinkWithIcon
            href={person.website}
            label={person.website}
            icon={LinkIcon}
          />
        </Grid>
      </Grid>
    </Paper>
  );
}
Example #2
Source File: footer.js    From turinghut-website with BSD Zero Clause License 5 votes vote down vote up
footerItems = [
  {
    title: 'Find us on Maps',
    icons: [
      {
        title: 'Maps',
        icon: <Map />,
        route: 'https://goo.gl/maps/KbMkmqUWmUVQpfCv9',
      },
    ],
  },
  {
    title: 'Contact us',
    icons: [
      {
        title: 'Email',
        icon: <Email />,
        route: 'mailto:[email protected]',
      },
      {
        title: 'Phone',
        icon: <LocalPhone />,
        route: 'tel: 040-2304-2760',
      },
    ],
  },
  {
    title: 'Follow us',
    icons: [
      {
        title: 'Github',
        icon: <GitHub />,
        route: 'https://github.com/turinghut',
      },
      {
        title: 'instagram',
        icon: <Instagram />,
        route: 'https://www.instagram.com/turing.hut/',
      },
    ],
  },
]