Antd
migration
byCodemod

Antd/Remove Component

/icons/calendar.svg

Last update

Jul 24, 2024

Replace import for removed component in v5.

Example

Before

import { Avatar, BackTop, Comment, PageHeader } from 'antd';

After

import { Comment } from '@ant-design/compatible';
import { PageHeader } from '@ant-design/pro-layout';
import { Avatar, FloatButton } from 'antd';

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now