Sha256: 2649e727e30b61c97e19c49a9e72a27f84858ad1451eccf6b3bb00d4f5019fee
Contents?: true
Size: 523 Bytes
Versions: 4
Compression:
Stored size: 523 Bytes
Contents
class Skr.Components.CustomerLink extends Lanes.React.Component propTypes: onClick: React.PropTypes.func customer: React.PropTypes.instanceOf(Skr.Models.Customer) onClick: -> @props.onClick?() @props.customer.withAssociations(['billing_address', 'shipping_address']).then => Lanes.Screens.Definitions.all.get('customer-maint') .display(props: {customer: @props.customer}) render: -> <a href='#' onClick={@onClick}>{@props.customer.code}</a>
Version data entries
4 entries across 4 versions & 1 rubygems