ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
11 lines • 604 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultExporter = void 0;
const index_js_1 = __importDefault(require("jsonexport/dist/index.js"));
const downloadCSV_1 = require("./downloadCSV.cjs");
const defaultExporter = (data, _, __, resource) => (0, index_js_1.default)(data, (err, csv) => (0, downloadCSV_1.downloadCSV)(csv, resource));
exports.defaultExporter = defaultExporter;
//# sourceMappingURL=defaultExporter.js.map