# lm-calendar

> * 作者：maqun02 * 邮箱：markexin@sina.com * 版本：**`0.1.0`**

Latest version **0.2.0** (published 2018-10-15) · 0 weekly downloads

## Install

```sh
npm install lm-calendar
pnpm add lm-calendar
yarn add lm-calendar
bun add lm-calendar
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2018-10-15 |
| First published | 2018-10-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 324.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | maqun02 |
| Maintainers | sherry.cao |
| Keywords | earth, react, reactcomponent, calendar |

## Links

- npm: https://www.npmjs.com/package/lm-calendar
- Repository: http://gitlab.xxx.com/groups/lm-component/calendar
- npm.io page: https://npm.io/package/lm-calendar

## Dependencies (5)

- [promise](https://npm.io/package/promise.md) 8.0.1
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.10
- [whatwg-fetch](https://npm.io/package/whatwg-fetch.md) 2.0.3
- [pinkie-promise](https://npm.io/package/pinkie-promise.md) ^2.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2018-10-15
- 0.1.0 — 2018-10-15

## README

# calendar

* 作者：maqun02
* 邮箱：markexin@sina.com
* 版本：**`0.1.0`**

## 介绍

_组件描述内容_

---

## 安装

`lm-*` 组件使用 `npm` 进行管理，命名空间统一为 `lm-`，请使用以下命令进行组件安装。

```
npm i lm-calendar --save
```

- 如果你还没有安装 `npm`，可通过以下方式进行 [安装](https://nodejs.org/en/download/)。
- 安装cnpm `npm install -g cnpm --registry=https://registry.npm.taobao.org`


---

## 使用

### 样例文档

- 待开发

### 使用
最少配置参数为：
- 传入`time`定义初始化时间
- 传入`status`控制组件显隐
- 传入`onOk`确定回调
- 传入`onCancle`取消回调

```
<Calendar 
    time="2018/1/1"
    status= false
    onOk={ (item) => { console.log(item) }) } }
    onCancle={ (item) => { console.log(item) } }
/>

```
### 配置参数

| Prop | Type | Default | Description |
| ---- |:----:|:-------:| :----------:|
| **`time`** | `string` | `undefined` | 定义初始化时间(必传) |
| **`status`** | `bool` | `false` | 初始化状态(必传) |
| **`onOk`** | `fun` | `args => args` | 点击确定回调函数(必传) |
| **`onCancle`** | `fun` | `args => args` | 点击取消回调函数(必传) |

---

## 注意事项

- 组件注意事项

---

## 开发调试

进入项目目录后，使用 `node` 命令启动服务

```
npm run start
```

打包发布可通过 `node` 命令执行

```
npm run build
npm publish
```

---

## 相关资料

* [lm 组件开发规范](http://)

---

## Changelog

### 0.1.0
1. init
### 0.2.0
1. update react to v16

---

---
_Source: https://npm.io/package/lm-calendar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
