import React from "react"; import { Button, Upload } from "antd"; import { ImportOutlined } from "@ant-design/icons"; import { useImportButton } from "@refinedev/core"; import { RefineButtonClassNames, RefineButtonTestIds, } from "@refinedev/ui-types"; import type { ImportButtonProps } from "../types"; /** * `` is compatible with the {@link https://refine.dev/docs/api-reference/antd/hooks/import/useImport `useImport`} hook and is meant to be used as it's upload button. * It uses Ant Design's {@link https://ant.design/components/button/ ` ); };