Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ant-design/compatible

ant-design411.2kMIT5.1.4TypeScript support: included

Ant Design v3 to v4 compatible package

antd, compatible

readme

Ant Design Compatible

NPM version NPM downloads CircleCI

Install

yarn add @ant-design/compatible@v5-compatible-v4

Usage

Helps you to compatible different components between v4 and v5.

-- import { Button, Select, Dropdown } from 'antd';
++ import { Button, Select, Dropdown } from '@ant-design/compatible';

FAQ