Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ant-design/antd-adapter
An adapter which makes newer antd works like old one. DIRTY HACK \ T^T /
https://github.com/ant-design/antd-adapter
Last synced: 1 day ago
JSON representation
An adapter which makes newer antd works like old one. DIRTY HACK \ T^T /
- Host: GitHub
- URL: https://github.com/ant-design/antd-adapter
- Owner: ant-design
- License: mit
- Created: 2016-12-22T09:19:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-20T12:54:19.000Z (over 5 years ago)
- Last Synced: 2024-12-26T02:33:48.772Z (8 days ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 9
- Watchers: 11
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# antd-adapter
[![](https://img.shields.io/travis/ant-design/antd-adapter.svg?style=flat-square)](https://travis-ci.org/ant-design/antd-adapter)
[![npm package](https://img.shields.io/npm/v/antd-adapter.svg?style=flat-square)](https://www.npmjs.org/package/antd-adapter)
[![NPM downloads](http://img.shields.io/npm/dm/antd-adapter.svg?style=flat-square)](https://npmjs.org/package/antd-adapter)
[![Dependency Status](https://david-dm.org/ant-design/antd-adapter.svg?style=flat-square)](https://david-dm.org/ant-design/antd-adapter)An adapter which makes newer antd works like old one. DIRTY HACK \\ T^T /
## Installation
```bash
npm i --save antd-adapter
```## Usage
````jsx
import DatePicker from 'antd-adapter/1to2/DatePicker';// Then, you can use DatePicker's APIs as old antd
````
## Supported Adapter
````jsx
import DatePicker from 'antd-adapter/1to2/DatePicker';
import MonthPicker from 'antd-adapter/1to2/MonthPicker';
import RangePicker from 'antd-adapter/1to2/RangePicker';
import TimePicker from 'antd-adapter/1to2/TimePicker';
import Calendar from 'antd-adapter/1to2/Calendar';
````## License
MIT