1.6.1 • Published 2 months ago

easy-antd-modal v1.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

easy-antd-modal

NPM version NPM downloads install size

Test CI status Deploy CI Coverage

contributors forks stargazers issues

docs by dumi Build With father

简介

基于 Ant Design 的 Modal 组件的二次封装,简化了 Modal 的使用方式

  • 支持 antd4.x 和 antd5.x, API 保持一致
  • 自动绑定打开事件, 无需维护 open 状态
  • content 增强, 支持内部手动关闭
  • 支持拖拽, 类 window 窗口
  • 可直接对接 antd-mobile 的 Mask, Modal, Popup, Dialog 组件
  • 长期维护 (欢迎 PR)

快速上手

安装

推荐使用 pnpm 安装

pnpm i easy-antd-modal -S

使用

import { Button } from 'antd';
import Modal from 'easy-antd-modal';

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

迭代记录

详情:CHANGELOG

License

Copyright © 2023 - present Wxh16144. This project is MIT licensed.

1.6.1

2 months ago

1.6.0

2 months ago

1.5.1

4 months ago

1.5.0

4 months ago

1.4.2

9 months ago

1.4.1

9 months ago

1.4.0

9 months ago

1.3.0

9 months ago

1.2.1

9 months ago

1.4.0-beta.1

9 months ago

1.2.0

10 months ago

1.2.0-beta.1

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.1.0-beta.1

10 months ago

0.0.1

10 months ago

1.0.0

10 months ago