   render: ->
     props = @props.children.props
     props.className = @getButtonClassName props.className
+    props.onClick = @onClick
 
     # Set ladda options.
     options =

    style: "expand-left"

  propTypes:
    active: React.PropTypes.bool
    progress: React.PropTypes.number
    style: React.PropTypes.string

    if @props.progress
      @laddaButton.setProgress @props.progress

  onClick: (args...) ->
    @props.onClick? args...

  getButtonClassName: (className) ->
    laddaClass = "ladda-button"

