Antd/Remove Component

1.0.1Last update Jul 24, 2024
by@Codemod
Antd
migration

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