syunto07ka / jewelry_box

2 stars 0 forks source link

react-iconsのインストール #62

Closed syunto07ka closed 4 years ago

syunto07ka commented 4 years ago

close #58

syunto07ka commented 4 years ago

動作確認

スクリーンショット 2020-04-18 20 16 00
import * as React from 'react';
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
import Pages from './pages';
import { FaBeer } from 'react-icons/fa';

const Containers: React.FC = () => (
  <Router>
    <Switch>
      <Route path="/" exact={true}>
        <FaBeer />
        <Pages />
      </Route>
    </Switch>
  </Router>
);

export default Containers;