1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
checktheroads ebe848bbf9 UI improvements
2020-01-20 00:37:04 -07:00

18 lines
438 B
JavaScript

import React from "react";
import { Button } from "@chakra-ui/core";
import { FiChevronLeft } from "react-icons/fi";
export default React.forwardRef(({ isSubmitting, onClick }, ref) => (
<Button
ref={ref}
aria-label="Reset Form"
opacity={isSubmitting ? 1 : 0}
variant="ghost"
color="current"
onClick={onClick}
pl={0}
>
<FiChevronLeft size={24} />
</Button>
));