aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/ui/AddButton.tsx
blob: 8cf43000a79f89685cb4292dbb2541d526f5ec48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import React from "react";
import styled from "styled-components";

const Button = styled.input`
  border: none;
  padding: 4;
  display: inline;
  background: none;
  font-weight: bold;
  color: green;
  cursor: pointer;

  &:hover {
    color: darkgreen;
  }
`;

type Props = React.InputHTMLAttributes<HTMLInputElement>;

const AddButton: React.FC<Props> = (props) => (
  <Button type="button" value="&#x271a;" {...props} />
);

export default AddButton;