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 = [
|
const transformIgnorePatterns = [
|
||||||
'/dist/',
|
'/dist/',
|
||||||
'node_modules/[^/]+?/(?!(es|node_modules)/)', // Ignore modules without es dir
|
// 'node_modules/[^/]+?/(?!(es|node_modules)/)', // Ignore modules without es dir
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -23,6 +23,8 @@ export default {
|
||||||
indeterminate: PropTypes.bool,
|
indeterminate: PropTypes.bool,
|
||||||
type: PropTypes.string.def('checkbox'),
|
type: PropTypes.string.def('checkbox'),
|
||||||
autofocus: PropTypes.bool,
|
autofocus: PropTypes.bool,
|
||||||
|
onChange: PropTypes.func,
|
||||||
|
'onUpdate:checked': PropTypes.func,
|
||||||
},
|
},
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
|
Loading…
Reference in New Issue