Reconmap/web-client

View on GitHub
src/components/ui/buttons/DeleteIconButton.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import { faTrashCan } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import NativeButton from "components/form/NativeButton";
import styles from "./DeleteIconButton.module.scss";

const DeleteIconButton = (props) => (
    <NativeButton className={styles.native} onClick={props.onClick} {...props}>
        <FontAwesomeIcon icon={faTrashCan} />
    </NativeButton>
);

export default DeleteIconButton;