 ###
 Drag'n'Drop dropzone area
 ###
+
+MAX_FILE_SIZE_MB    = 10000 # 10GB
 
 ReactDOMServer      = require('react-dom/server')   # for dropzone below
 Dropzone            = require('dropzone')

                <DropzoneComponent
                    config        = {postUrl: @postUrl()}
                    eventHandlers = {@props.dropzone_handler}
                    djsConfig     = {previewTemplate: ReactDOMServer.renderToStaticMarkup(@dropzone_template())}
                />
            </div>
        </div>

            url : @postUrl()
            previewsContainer : ReactDOM.findDOMNode(@refs.preview_container) ? ""
            previewTemplate   : ReactDOMServer.renderToStaticMarkup(@preview_template())
            maxFilesize       : MAX_FILE_SIZE_MB
        , true
        return misc.merge(with_defaults, @props.config)

