aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/ui/DeleteButton.tsx
blob: ce0183bad020ae5edc8684b2a8a6d6bba8c4c58f (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
import React from "react";
import styled from "styled-components";

const Button = styled.input`
  border: none;
  padding: 4;
  display: inline;
  background: none;
  color: red;
  cursor: pointer;

  &:hover {
    color: darkred;
  }
`;

type Props = React.InputHTMLAttributes<HTMLInputElement>;

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

export default DeleteButton;