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 { wording } from '@skava/ui/dist/words'
import {
  SubscriptionItemInfo,
  SubscriptionListProps,
  SubscriptionListState,
} from './typings'
import { HeaderContent, Item } from './styled'

function defaultRenderHeader(props: SubscriptionListProps, state: SubscriptionListState) {
  return <HeaderContent content={wording.upcomingSubscriptionHeaderLabel} />
}

function defaultRenderItem(props: SubscriptionItemInfo, state: SubscriptionListState) {
  return <Item item={props} />
}

export { defaultRenderHeader, defaultRenderItem }