Skip to content

Instantly share code, notes, and snippets.

@DZuz14
Last active July 29, 2018 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DZuz14/e453db2ea070bbcb810d4539e6f4a79d to your computer and use it in GitHub Desktop.
Save DZuz14/e453db2ea070bbcb810d4539e6f4a79d to your computer and use it in GitHub Desktop.
Left And Right Arrows
import React from 'react';
const RightArrow = () => {
return (
<div className="nextArrow">
<i className="fa fa-arrow-right fa-2x" aria-hidden="true"></i>
</div>
);
}
export default RightArrow;
/*
Pretend these are in their own separate files
*/
import React from 'react';
const LeftArrow = () => {
return (
<div className="backArrow">
<i className="fa fa-arrow-left fa-2x" aria-hidden="true"></i>
</div>
);
}
export default LeftArrow;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment