React-st-modal:一个简单灵活的 React JS 模式对话框组件

React-st-modal 是一个用于在 React JS 中实现模式对话框的简单且灵活的库。它提供了友好的 API,可以轻松创建和自定义模式对话框,并支持移动设备兼容性。该库还实现了标准交互功能,如警报、确认和提示,并通过 CSS 变量提供自定义选项。它具有辅助功能和焦点控制功能,并支持异步/等待语法。入门简单,无需定义代码中的模式对话框。

zip
react-st-modal-master.zip 预估大小:32个文件
folder
react-st-modal-master 文件夹
file
.gitignore 45B
file
.eslintrc 1KB
file
package.json 2KB
folder
src 文件夹
folder
components 文件夹
folder
UI 文件夹
folder
Button 文件夹
file
Button.module.scss 1KB
file
Button.tsx 2KB
folder
Content 文件夹
file
Content.module.scss 139B
file
Content.tsx 337B
folder
Footer 文件夹
file
Footer.module.scss 285B
file
Footer.tsx 332B
folder
FocusLock 文件夹
file
FocusLock.tsx 3KB
folder
Interaction 文件夹
file
Interaction.tsx 3KB
folder
Static 文件夹
file
StaticDialog.tsx 1KB
folder
Modal 文件夹
file
Prompt.tsx 3KB
file
Dialog.tsx 4KB
file
Confirm.tsx 2KB
file
Modal.module.scss 3KB
file
Modal.tsx 4KB
file
Alert.tsx 2KB
folder
context 文件夹
file
DialogContextProvider.tsx 1005B
folder
utils 文件夹
file
css.d.ts 109B
file
helpers.ts 398B
file
types.ts 321B
file
index.ts 641B
file
vars.scss 1KB
folder
hooks 文件夹
file
useDialog.ts 694B
file
LICENSE 1KB
file
tsconfig.json 570B
folder
.github 文件夹
file
FUNDING.yml 95B
file
rollup.config.js 751B
file
README.md 8KB
file
.eslintignore 37B
file
.prettierrc 69B
zip 文件大小:25.17KB