Skip to content

Commit dbbd25d

Browse files
committed
feat: add withConfirmAction and withDeleteConfirmAction, and enhance withModalAction
1 parent db0de87 commit dbbd25d

File tree

9 files changed

+632
-256
lines changed

9 files changed

+632
-256
lines changed

.vscode/settings.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,13 @@
1616
"i18n-ally.includeSubfolders": false,
1717
"i18n-ally.readonly": true,
1818
"i18n-ally.keystyle": "nested",
19-
"cSpell.words": ["contexify"]
19+
"cSpell.words": ["contexify"],
20+
"files.exclude": {
21+
"**/.git": true,
22+
"**/.svn": true,
23+
"**/.hg": true,
24+
"**/.DS_Store": true,
25+
"**/Thumbs.db": true,
26+
"**/node_modules": true
27+
}
2028
}

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
# Changelog
44

5+
## 1.2.1
6+
7+
2025-7-17
8+
9+
### Features
10+
11+
#### ConfirmAction
12+
13+
- 🔥 Add `withConfirmAction` hoc
14+
15+
#### DeleteConfirmAction
16+
17+
- 🔥 Add `withDeleteConfirmAction` hoc
18+
19+
#### ModalAction
20+
21+
-`withModalAction` allows to access the incoming props in the defaultProps function, and the result will override the incoming props. `withConfirmAction` and `withDeleteConfirmAction` have the same behavior.
22+
523
## 1.2.0
624

725
2025-7-16

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tiny-codes/react-easy",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Simplify React and AntDesign development with practical components and hooks",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)