<commit_before>React = require 'react'

SubscriptionSection = require './subscriptionsection'
PaymentSection = require './paymentsectioncontainer'


module.exports = BillingPane = (props) ->

  { subscriptionTitle, pricePerSeat, teamSize,
    endsAt, freeCredit, isSurveyTaken, isEmailVerified, isTrial
    onClickTakeSurvey, onClickPricingDetails, onClickViewMembers } = props

  <div>
    <SubscriptionSection
      subscriptionTitle={subscriptionTitle}
      pricePerSeat={pricePerSeat}
      teamSize={teamSize}
      endsAt={endsAt}
      freeCredit={freeCredit}
      isSurveyTaken={isSurveyTaken}
      isEmailVerified={isEmailVerified}
      isTrial={isTrial}
      onClickTakeSurvey={onClickTakeSurvey}
      onClickPricingDetails={onClickPricingDetails}
      onClickViewMembers={onClickViewMembers} />
    <PaymentSection />
  </div>


BillingPane.defaultProps =
  onClickViewMembers: ->
<commit_msg>client/home: update billing pane component<commit_after>React = require 'react'
{ connect } = require 'react-redux'

SubscriptionSection = require './subscriptioncontainer'
PaymentSection = require './paymentsectioncontainer'

customer = require 'app/redux/modules/payment/customer'
subscription = require 'app/redux/modules/payment/subscription'
bongo = require 'app/redux/modules/bongo'


class BillingPane extends React.Component

  constructor: (props) ->
    super props
    @state = { loading: off }

  render: ->

    <div>
      <SubscriptionSection loading={@state.loading} />
      <PaymentSection loading={@state.loading} />
    </div>


BillingPane.defaultProps =
  onClickViewMembers: ->


mapDispatchToProps = (dispatch) ->
  return {
    onClickTakeSurvey: ->
    onClickPricingDetails: ->
    onClickViewMembers: ->
  }

module.exports = connect(null, mapDispatchToProps)(BillingPane)
{'fraction_non_alphanumeric': 0.10546659304251794, 'fraction_numerical': 0.0, 'mean_word_length': 4.392857142857143, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3392193', 'n_tokens_mistral': 529, 'n_tokens_neox': 531, 'n_words': 95}