import React from 'react'; import PropTypes from 'prop-types'; import bindAll from 'lodash.bindall'; class SortableAsset extends React.Component { constructor (props) { super(props); bindAll(this, [ 'setRef' ]); } componentDidMount () { this.props.onAddSortable(this.ref); } componentWillUnmount () { this.props.onRemoveSortable(this.ref); } setRef (ref) { this.ref = ref; } render () { return (