import React, { FC } from 'react';
import Icon from '../../images/ic_node_open-all.svg';

interface IProps {
  onClick: () => void;
}

const ExpandAllButton: FC<IProps> = ({ onClick }) => {
  return (
    <div className="slot" onClick={onClick}>
      <Icon className="logo" />
    </div>
  );
};

export default ExpandAllButton;
