content: import React from 'react';
  import ReactDOM from 'react-dom';
  import MonkeyUi from '../../lib/monkeyui.js';
  
  var Table=MonkeyUi.Table;
  
  const columns = [{
    title: 'Name',
    dataIndex: 'name',
    key: 'name',
    render: text => <a href="#">{text}</a>,
  }, {
    title: 'Age',
    dataIndex: 'age',
    key: 'age',
  }, {
    title: 'Address',
    dataIndex: 'address',
    key: 'address',
  }, {
    title: 'Action',
    key: 'action',
    render: (text, record) => (
      <span>
        <a href="#">Action 一 {record.name}</a>
        <span className="ant-divider" />
        <a href="#">Delete</a>
        <span className="ant-divider" />
        <a href="#" className="ant-dropdown-link">
          More actions
        </a>
      </span>
    ),
  }];
  
  const data = [{
    key: '1',
    name: 'John Brown',
    age: 32,
    address: 'New York No. 1 Lake Park',
  }, {
    key: '2',
    name: 'Jim Green',
    age: 42,
    address: 'London No. 1 Lake Park',
  }, {
    key: '3',
    name: 'Joe Black',
    age: 32,
    address: 'Sidney No. 1 Lake Park',
  }];
  
  const TableApp = React.createClass({
      handleClick(){
          console.log('click');
      },
      handleDbClick(){
          console.log('dbclick');
      },
      render(){
          return(
              <Table columns={columns} dataSource={data} onRowClick={this.handleClick}  onRowDoubleClick = {this.handleDbClick}/>
          )
      }
  });
  export default TableApp;