generate a table by React.js.(not yet finished)