import {Button, Tooltip} from "antd";
import {UploadOutlined} from "@ant-design/icons";

export const ImportDataButton = ({onClick}) => {
  return <div className='absolute top-[20px] left-[20px]'>
    <Tooltip title='Импорт данных' placement='right'>
      <Button
        type="primary"
        icon={<UploadOutlined />}
        onClick={onClick}
      />
    </Tooltip>
  </div>
}