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);