perf: add checkbox event declar
parent
ec73097d9b
commit
7ec5dac844
2
.jest.js
2
.jest.js
|
@ -2,7 +2,7 @@ const libDir = process.env.LIB_DIR;
|
|||
|
||||
const transformIgnorePatterns = [
|
||||
'/dist/',
|
||||
'node_modules/[^/]+?/(?!(es|node_modules)/)', // Ignore modules without es dir
|
||||
// 'node_modules/[^/]+?/(?!(es|node_modules)/)', // Ignore modules without es dir
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
|
|
|
@ -23,6 +23,8 @@ export default {
|
|||
indeterminate: PropTypes.bool,
|
||||
type: PropTypes.string.def('checkbox'),
|
||||
autofocus: PropTypes.bool,
|
||||
onChange: PropTypes.func,
|
||||
'onUpdate:checked': PropTypes.func,
|
||||
},
|
||||
|
||||
setup() {
|
||||
|
|
Loading…
Reference in New Issue