/**
 * Copyright 2024 Phenix Real Time Solutions, Inc. Confidential and Proprietary. All Rights Reserved.
 */
import {IconButton} from './style';
import addIcon from 'assets/images/icon/hash-plus.svg';

interface IAddButton {
  onClick: () => void;
  className: string;
}

export const AddButton = ({onClick, className}: IAddButton): JSX.Element => (
  <IconButton onClick={onClick} className={className}>
    <img src={addIcon} alt={'Add'} />
  </IconButton>
);