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    
@skava/ui-presets / src / abstractions / Subscription / SubscriptionOrderInformation / SubscriptionOrderInformation.tsx
Size: Mime:
import React from 'react'
import { SubscriptionOrderInformationProps } from './typings'
import {
  defaultRenderOrderInformation,
  defaultRenderDeliveryInformation,
  defaultRenderBox,
  defaultRenderWrapper,
} from './renderProps'

class SubscriptionOrderInformation extends React.PureComponent<SubscriptionOrderInformationProps> {
  static defaultProps = {
    className: '',
    renderOrderInformation: defaultRenderOrderInformation,
    renderDeliveryInformation: defaultRenderDeliveryInformation,
    renderWrapper: defaultRenderWrapper
  }
  render() {
    const { renderWrapper, ...reamainingProps } = this.props
    const children = defaultRenderBox(reamainingProps)
    const view = renderWrapper({ children, ...reamainingProps })
    return view
  }
}

export { SubscriptionOrderInformation }
export default SubscriptionOrderInformation