New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@vtx/modals2

Package Overview
Dependencies
Maintainers
8
Versions
505
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtx/modals2

弹窗组件

npmnpm
Version
6.0.0-beta.30
Version published
Weekly downloads
1.4K
-53.24%
Maintainers
8
Weekly downloads
 
Created
Source

@vtx/modals2

NPM version NPM downloads

弹窗组件。

Version Notes

  • 6.x is the antd6 / React18 / VTX4 edition. It is intended for upgraded projects only.
  • antd4 projects should continue to use the existing 5.x release line.
  • Public business props remain compatible with the old usage, including visible, id, title, theme, code, tabChose, defaultActiveKey, modalHeight, width, mask, and onCancel.
  • The npm publish step is handled outside this repository workflow.

Changelog

6.0.0

  • Upgrade peer/runtime baseline to antd6, @ant-design/icons 6, React18, and VTX4.
  • Keep the existing import contract used by 5.x, including deep-path imports such as @vtx/modals2/lib/vtx-device-modal, so business projects only change the installed package version.
  • Replace removed antd APIs such as visible, destroyOnClose, dropdownClassName, overlay, and message.warn with antd6-compatible APIs while preserving external business props.
  • Remove legacy antd4 CSS and @vtx/components/lib/* deep imports.

Usage

TODO

Options

TODO

Development

# install dependencies
$ npm install

# develop library by docs demo
$ npm start

# build library source code
$ npm run build

# build library source code in watch mode
$ npm run build:watch

# build docs
$ npm run docs:build

# Locally preview the production build.
$ npm run docs:preview

# check your project for potential problems
$ npm run doctor

LICENSE

MIT

FAQs

Package last updated on 17 Sep 2026

Related posts