import React from 'react'; import ReactDOM from 'react-dom'; import Transfer from '..'; const dataSource = (() => { const dataSource = []; for (let i = 0; i < 10; i++) { dataSource.push({ label: `content${i}`, value: `${i}`, disabled: i % 4 === 0, }); } return dataSource; })(); class Demo extends React.Component { constructor(props) { super(props); this.handleSort = this.handleSort.bind(this); } handleSort(value, position) { console.log(value, position); } render() { return (