/**
 * Copyright 2024 Phenix Real Time Solutions, Inc. Confidential and Proprietary. All Rights Reserved.
 */
import React from 'react';
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): React.JSX.Element => (
  <IconButton onClick={onClick} className={className}>
    <img src={addIcon} alt={'Add'} />
  </IconButton>
);
