Course Table

✨ Features

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Electron
Electron
IE9, IE10, IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions last 2 versions

📦 Install

npm i course-table
npm i course-table -S

🔨 Usage

import CourseTable from 'course-table';

const courseTables = {
      1: [
        {
          startTime:1551920827000,
          endTime:1551924427000,
          stuNameList: ['123'],
          teaName: '312'
        }
      ]
    };

const handleConfirm = (data,handleOK) => {
    handleOK()
};

ReactDOM.render(
    <CourseTable 
        courseTables={courseTables}
        handleConfirm={handleConfirm}
    />, 
    mountNode);
分类: JavaScript

发表评论

电子邮件地址不会被公开。 必填项已用*标注