🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@vtx/modals2

Package Overview
Dependencies
Maintainers
8
Versions
479
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtx/modals2

弹窗组件

latest
npmnpm
Version
6.0.0-beta.11
Version published
Maintainers
8
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 24 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts