react-icons/fi#FiArchive TypeScript Examples

The following examples show how to use react-icons/fi#FiArchive. 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: index.tsx    From ecoleta with MIT License 6 votes vote down vote up
Home: React.FC = () => {
  const { title } = useContext(ThemeContext);

  return (
    <Container>
      <Content>
        <header>
          {title === 'light' ? (
            <img src={logo} alt="Ecoleta" />
          ) : (
            <img src={logoDark} alt="Ecoleta" />
          )}
          <Link to="/create-point">
            <FiLogIn />
            Cadastre um ponto de coleta
          </Link>
        </header>

        <Main>
          <h1>Seu marketplace de coleta de resíduos.</h1>

          <p>
            Ajudamos pessoas a encontrarem pontos de coleta de forma eficiente.
          </p>

          <Link to="/list-points">
            <span>
              <FiArchive />
            </span>
            <strong>Listar Pontos de coleta</strong>
          </Link>
        </Main>
      </Content>
    </Container>
  );
}