wix-style-react
Version:
22 lines (18 loc) • 732 B
JavaScript
import React from 'react';
import { shallow, mount } from 'enzyme';
import GoogleAddressInput from './GoogleAddressInput';
var componentFactory = function componentFactory() {
var createShallow = function createShallow() {
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return shallow( /*#__PURE__*/React.createElement(GoogleAddressInput, props));
};
var createMount = function createMount() {
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return mount( /*#__PURE__*/React.createElement(GoogleAddressInput, props));
};
return {
createShallow: createShallow,
createMount: createMount
};
};
export { componentFactory };