Repository URL to install this package:
|
Version:
0.14.1 ▾
|
ui-component-library
/
src
/
components
/
presets
/
PaymentMethods
/
PaymentCardForm
/
PaymentCardForm.tsx
|
|---|
import React from 'react'
import { PaymentCardFormProps } from './typings'
import { PaymentCardFormPlaceholderWrapper as PaymentCardFormPlaceholder } from './styled'
import { renderPaymentCardFormContainer as defaultPaymentCardFormComtainer } from './renderProps'
class PaymentCardForm extends React.PureComponent<PaymentCardFormProps> {
static defaultProps = {
renderPaymentCardFormContainer: defaultPaymentCardFormComtainer,
}
render() {
const { ...remainingProps } = this.props
return <PaymentCardFormPlaceholder {...remainingProps} />
}
}
export { PaymentCardForm }
export default PaymentCardForm