Skip to content

Commit

Permalink
remove react icons from code base
Browse files Browse the repository at this point in the history
  • Loading branch information
swissbusybee committed May 1, 2021
1 parent c9d4505 commit 1908226
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions app/javascript/components/Carousel.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import React, { useState, useEffect } from 'react';
import CarouselSlide from './CarouselSlide';
import { FaChevronLeft, FaChevronRight } from 'react-icons/fa';
import Slide from '@material-ui/core/Slide';
import {useStyles} from './carouselStyles'

function Arrow(props) {
const { direction, clickFunction } = props;
const icon = direction === 'left' ? <FaChevronLeft /> : <FaChevronRight />;

return <div onClick={clickFunction}>{icon}</div>;
return <div onClick={clickFunction}>"Test"</div>;
}

export default function Carousel(props) {
Expand Down
2 changes: 0 additions & 2 deletions app/javascript/components/HelloWorld.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import React from "react";
import PropTypes from "prop-types";
import FaceIcon from "@material-ui/icons/Face";

class HelloWorld extends React.Component {
render() {
return (
<React.Fragment>
Greeting: {this.props.greeting}
<FaceIcon />
</React.Fragment>
);
}
Expand Down

0 comments on commit 1908226

Please sign in to comment.