     if @props.progress
       @laddaButton.setProgress @props.progress
 
+  onClick: (args...) ->
+    @props.onClick? args...
+
   getButtonClassName: (className) ->
     laddaClass = "ladda-button"
 

  render: ->
    props = @props.children.props
    props.className = @getButtonClassName props.className

    # Set ladda options.
    options =

    style: "expand-left"

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