aboutsummaryrefslogblamecommitdiff
path: root/src/settings/components/ui/DeleteButton.tsx
blob: ce0183bad020ae5edc8684b2a8a6d6bba8c4c58f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                          
                                       
 





                            
 
                   
   





                                                         
                            
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;