Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import React from 'react'
import { PaymentWithBillingAddress } from 'abstractions/forms/views/PaymentWithBillingAddress'
import { Empty } from '@skava/ui/dist/components/atoms/Empty'
import { PaymentCard } from '../PaymentCard'
import { PaymentActionTileProps, PaymentActionTileState } from './typings'

function defaultRenderHeaderView(props: PaymentActionTileProps, state: PaymentActionTileState) {
  return <PaymentCard  state={state} {...props} />
}

function defaultRenderExpandableView(props: PaymentActionTileProps, state: PaymentActionTileState) {
  return <PaymentWithBillingAddress {...props} />
}

function defaultRenderFooterView(props: PaymentActionTileProps, state: PaymentActionTileState) {
  return <Empty />
}

export {
  defaultRenderHeaderView,
  defaultRenderExpandableView,
  defaultRenderFooterView,
}