import React from 'react' ; import { AccessibilityProps , requireNativeComponent , StyleProp , ViewStyle , } from 'react-native' ; import type { AuBECSDebitFormComponent } from '../types' ; const AuBECSDebitFormNative = requireNativeComponent < AuBECSDebitFormComponent . NativeProps > ( 'AuBECSDebitForm' ) ; /**
 *  BECS Debit Form Component Props
 */ export interface Props extends AccessibilityProps { companyName : string ; onComplete ( value ) : void ; formStyle ? : AuBECSDebitFormComponent . Styles ; style ? : StyleProp < ViewStyle > ; testID ? : string ; } example param __namedParameters returns category export function AuBECSDebitForm ( { onComplete , companyName , formStyle , ... props } ) { return ( < AuBECSDebitFormNative onCompleteAction = { ( value ) => onComplete ( value . nativeEvent ) } companyName = { companyName } formStyle = { { ... formStyle } } { ... props } />); }