Skip to content

An adapter which makes newer antd works like old one. DIRTY HACK \ T^T /

License

Notifications You must be signed in to change notification settings

ant-design/antd-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

antd-adapter

npm package NPM downloads Dependency Status

An adapter which makes newer antd works like old one. DIRTY HACK \ T^T /

Installation

npm i --save antd-adapter

Usage

import DatePicker from 'antd-adapter/1to2/DatePicker';

// Then, you can use DatePicker's APIs as old antd
<DatePicker value="2016-12-23" />

Supported Adapter

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

About

An adapter which makes newer antd works like old one. DIRTY HACK \ T^T /

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published