diff --git a/codemods/antd/5/props-changed-migration/README.md b/codemods/antd/5/props-changed-migration/README.md index c7c166e1..fedd5206 100644 --- a/codemods/antd/5/props-changed-migration/README.md +++ b/codemods/antd/5/props-changed-migration/README.md @@ -7,7 +7,7 @@ This codemod changes the way the component props are applied. ### Before -```ts +```TypeScript import { Tag } from 'antd'; const Component = () => { @@ -19,7 +19,7 @@ const Component = () => { ### After -```ts +```TypeScript import { Tag } from 'antd'; const Component = () => { diff --git a/codemods/antd/5/remove-style-import/README.md b/codemods/antd/5/remove-style-import/README.md index 809f3cd7..ef17004f 100644 --- a/codemods/antd/5/remove-style-import/README.md +++ b/codemods/antd/5/remove-style-import/README.md @@ -7,7 +7,7 @@ Comment out the style file import from antd (in js file). ### Before -```ts +```TypeScript import 'antd/es/auto-complete/style'; import 'antd/lib/button/style/index.less'; import 'antd/dist/antd.compact.min.css'; @@ -16,7 +16,7 @@ import 'antd/dist/antd.compact.min.css'; ### After -```ts +```TypeScript // import 'antd/es/auto-complete/style'; // import 'antd/lib/button/style/index.less'; // import 'antd/dist/antd.compact.min.css'; diff --git a/codemods/antd/5/removed-component-migration/README.md b/codemods/antd/5/removed-component-migration/README.md index 31de96db..026663aa 100644 --- a/codemods/antd/5/removed-component-migration/README.md +++ b/codemods/antd/5/removed-component-migration/README.md @@ -7,14 +7,14 @@ Replace import for removed component in v5. ### Before -```ts +```TypeScript import { Avatar, BackTop, Comment, PageHeader } from 'antd'; ``` ### After -```ts +```TypeScript import { Comment } from '@ant-design/compatible'; import { PageHeader } from '@ant-design/pro-layout'; import { Avatar, FloatButton } from 'antd'; diff --git a/codemods/antd/5/removed-static-method-migration/README.md b/codemods/antd/5/removed-static-method-migration/README.md index 43eb7cea..c672798a 100644 --- a/codemods/antd/5/removed-static-method-migration/README.md +++ b/codemods/antd/5/removed-static-method-migration/README.md @@ -8,7 +8,7 @@ Replace notification.close with notification.destroy. ### Before -```ts +```TypeScript import { message, notification } from 'antd'; const App = () => { @@ -36,7 +36,7 @@ const App = () => { ### After -```ts +```TypeScript import { message, notification } from 'antd'; const App = () => {