avatar

目录
courseTable -- 可移动的React课程表组件

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);
文章作者: kshao
文章链接: https://blog.ksh7.com/2019/03/08/coursetable-e5-8f-af-e7-a7-bb-e5-8a-a8-e7-9a-84react-e8-af-be-e7-a8-8b-e8-a1-a8-e7-bb-84-e4-bb-b6/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 kshao-blog
打赏
  • 微信
    微信
  • 支付寶
    支付寶