Skip to content

Commit

Permalink
Revert "feat: 补充 prefixCls 逻辑 (#11)"
Browse files Browse the repository at this point in the history
This reverts commit e88e9df.
  • Loading branch information
Wxh16144 authored Aug 14, 2023
1 parent e88e9df commit 6d94ea9
Show file tree
Hide file tree
Showing 28 changed files with 46 additions and 1,170 deletions.
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# [1.4.0-beta.1](https://github.com/Wxh16144/easy-antd-modal/compare/v1.3.0...v1.4.0-beta.1) (2023-08-14)

### Features

- 补充 prefixCls 逻辑 ([#10](https://github.com/Wxh16144/easy-antd-modal/issues/10)) ([287bfde](https://github.com/Wxh16144/easy-antd-modal/commit/287bfdede391840b3b85d3987667724fa9d29e0f))

# [1.3.0](https://github.com/Wxh16144/easy-antd-modal/compare/v1.2.1...v1.3.0) (2023-08-11)

### Features
Expand Down
19 changes: 2 additions & 17 deletions examples/with-antd4/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
import { Button, Typography, version } from 'antd';
import { DragModal, Drawer, Modal } from 'easy-antd-modal';
import Modal from 'easy-antd-modal';

export default () => (
<>
<Typography.Title level={2}>antd version: {version}</Typography.Title>

<Modal title="easy-antd-modal" trigger={<Button type="primary">Modal</Button>}>
<Modal title="easy-antd-modal" trigger={<Button type="primary">Click Me</Button>}>
I ❤️ antd
</Modal>

<br />
<br />

<Drawer title="easy-antd-modal" trigger={<Button type="primary">Drawer</Button>}>
I ❤️ antd
</Drawer>

<br />
<br />

<DragModal title="easy-antd-modal" trigger={<Button type="primary">DragModal</Button>}>
I ❤️ antd
</DragModal>
</>
);
19 changes: 2 additions & 17 deletions examples/with-antd5/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
import { Button, Typography, version } from 'antd';
import { DragModal, Drawer, Modal } from 'easy-antd-modal';
import Modal from 'easy-antd-modal';

export default () => (
<>
<Typography.Title level={2}>antd version: {version}</Typography.Title>

<Modal title="easy-antd-modal" trigger={<Button type="primary">Modal</Button>}>
<Modal title="easy-antd-modal" trigger={<Button type="primary">Click Me</Button>}>
I ❤️ antd
</Modal>

<br />
<br />

<Drawer title="easy-antd-modal" trigger={<Button type="primary">Drawer</Button>}>
I ❤️ antd
</Drawer>

<br />
<br />

<DragModal title="easy-antd-modal" trigger={<Button type="primary">DragModal</Button>}>
I ❤️ antd
</DragModal>
</>
);
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easy-antd-modal",
"version": "1.4.0-beta.1",
"version": "1.3.0",
"description": "二次开发, 简化 Ant Design Modal 的使用方式",
"keywords": [
"antd",
Expand Down Expand Up @@ -104,7 +104,6 @@
"@types/testing-library__jest-dom": "^5",
"@umijs/lint": "^4",
"@vitest/coverage-v8": "latest",
"antd4": "npm:antd@4",
"commitlint": "^17",
"concurrently": "^7",
"cross-env": "^7",
Expand Down
36 changes: 33 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6d94ea9

Please sign in to comment.