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 { ShippingMethodOptionItemProps } from './typings'
import {
  ShippingTypeLabel,
  ExpectedDeliveryText,
  StyledOptionsWrapper,
} from './styled'

function defaultRenderText(props: ShippingMethodOptionItemProps) {
  const { label } = props
  return (
    <StyledOptionsWrapper>
      <ShippingTypeLabel content={label.shippingType} />
      <ExpectedDeliveryText>{label.expectedDelivery}</ExpectedDeliveryText>
    </StyledOptionsWrapper>
  )
}

export { defaultRenderText }