Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

trigger antd readme changes #554

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions codemods/antd/5/props-changed-migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This codemod changes the way the component props are applied.

### Before

```ts
```TypeScript
import { Tag } from 'antd';

const Component = () => {
Expand All @@ -19,7 +19,7 @@ const Component = () => {

### After

```ts
```TypeScript
import { Tag } from 'antd';

const Component = () => {
Expand Down
4 changes: 2 additions & 2 deletions codemods/antd/5/remove-style-import/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions codemods/antd/5/removed-component-migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions codemods/antd/5/removed-static-method-migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Replace notification.close with notification.destroy.

### Before

```ts
```TypeScript
import { message, notification } from 'antd';

const App = () => {
Expand Down Expand Up @@ -36,7 +36,7 @@ const App = () => {

### After

```ts
```TypeScript
import { message, notification } from 'antd';

const App = () => {
Expand Down
Loading