@stripe/stripe-react-native
Version:
Stripe SDK for React Native
2 lines • 2.09 kB
JavaScript
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.__INTERNAL_VIEW_CONFIG=exports.Commands=void 0;var _codegenNativeCommands=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeCommands"));var _codegenNativeComponent=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));var NativeComponentRegistry=require('react-native/Libraries/NativeComponent/NativeComponentRegistry');var _require=require('react-native/Libraries/NativeComponent/ViewConfigIgnore'),ConditionallyIgnoredEventHandlers=_require.ConditionallyIgnoredEventHandlers;var _require2=require("react-native/Libraries/ReactNative/RendererProxy"),dispatchCommand=_require2.dispatchCommand;var nativeComponentName='CardForm';var __INTERNAL_VIEW_CONFIG=exports.__INTERNAL_VIEW_CONFIG={uiViewClassName:"CardForm",directEventTypes:{topFocusChange:{registrationName:"onFocusChange"},topFormComplete:{registrationName:"onFormComplete"}},validAttributes:Object.assign({autofocus:true,cardStyle:true,dangerouslyGetFullCardDetails:true,defaultValues:true,disabled:true,placeholders:true,postalCodeEnabled:true,preferredNetworks:true},ConditionallyIgnoredEventHandlers({onFocusChange:true,onFormComplete:true}))};var _default=exports.default=NativeComponentRegistry.get(nativeComponentName,function(){return __INTERNAL_VIEW_CONFIG;});var Commands=exports.Commands={blur:function blur(ref){dispatchCommand(ref,"blur",[]);},focus:function focus(ref){dispatchCommand(ref,"focus",[]);}};console.warn("Deep imports from the 'react-native' package are deprecated ('react-native/Libraries/Utilities/codegenNativeCommands'). Source: /Users/tianzhao/stripe/stripe-react-native/src/specs/NativeCardForm.ts 6:0");console.warn("Deep imports from the 'react-native' package are deprecated ('react-native/Libraries/Utilities/codegenNativeComponent'). Source: /Users/tianzhao/stripe/stripe-react-native/src/specs/NativeCardForm.ts 7:0");
//# sourceMappingURL=NativeCardForm.js.map