@antv/g2
Version:
the Grammar of Graphics in Javascript
14 lines • 400 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Custom = void 0;
const helper_1 = require("../utils/helper");
/**
* Connector transfom by function.
*/
const Custom = (options) => {
const { callback = helper_1.identity } = options;
return (data) => callback(data);
};
exports.Custom = Custom;
exports.Custom.props = {};
//# sourceMappingURL=custom.js.map
;