Socket
Book a DemoInstallSign in
Socket

@longlongago2/rm_calendar

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@longlongago2/rm_calendar

react mobile calendar

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

rm-calendar

react mobile calendar

gif

NPM

install

npm install rm-calendar --save

usage

import RMCalendar from 'rm-calendar';

class App extends React.Component {
  render() {
    return (
      <RMCalendar
          defaultDate={new Date()}
          type="month"
          touch
          width="100%"
          locale="zh-cn"
          firstDayOfWeek={0}
          schedule={schedule}
          toolbar
          onCellClick={this.handleCellClick}
          onPageChange={this.handlePageChange}
        />
    );
  }
}

CDN

download

rm-calendar.zip (click to download)

usage

// css
<link rel="stylesheet" href="[path]/dist/rm-calendar.css">

// js
<script src="[path]/dist/rm-calendar.js"></script>

// html
<RMCalendar.default
    defaultDate={new Date()}
    type="month"
    touch
    width="100%"
    locale="zh-cn"
    firstDayOfWeek={0}
    schedule={schedule}
    toolbar
    onCellClick={this.handleCellClick}
    onPageChange={this.handlePageChange}
  />

Keywords

react

FAQs

Package last updated on 16 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts