1 | # Ant Design Compatible
|
2 |
|
3 | [![NPM version](https://img.shields.io/npm/v/@ant-design/compatible.svg?style=flat)](https://npmjs.org/package/@ant-design/compatible)
|
4 | [![NPM downloads](http://img.shields.io/npm/dm/@ant-design/compatible.svg?style=flat)](https://npmjs.org/package/@ant-design/compatible)
|
5 | [![CircleCI](https://circleci.com/gh/ant-design/compatible.svg?style=svg)](https://circleci.com/gh/ant-design/compatible)
|
6 |
|
7 | ## Install
|
8 |
|
9 | ```bash
|
10 | yarn add @ant-design/compatible@v5-compatible-v4
|
11 | ```
|
12 |
|
13 | ## Usage
|
14 |
|
15 | Helps you to compatible different components between v4 and v5.
|
16 |
|
17 | ```diff
|
18 | -- import { Button, Select, Dropdown } from 'antd';
|
19 | ++ import { Button, Select, Dropdown } from '@ant-design/compatible';
|
20 | ```
|
21 |
|
22 | ## FAQ
|
23 |
|