custom.js 262 B

12345678910
  1. import { identity } from '../utils/helper';
  2. /**
  3. * Connector transfom by function.
  4. */
  5. export const Custom = (options) => {
  6. const { callback = identity } = options;
  7. return (data) => callback(data);
  8. };
  9. Custom.props = {};
  10. //# sourceMappingURL=custom.js.map