mirror of https://github.com/status-im/consul.git
12 lines
234 B
JavaScript
12 lines
234 B
JavaScript
|
export default function(clickable, is) {
|
||
|
return function(obj) {
|
||
|
return {
|
||
|
...obj,
|
||
|
...{
|
||
|
cancel: clickable('[type=reset]'),
|
||
|
cancelIsEnabled: is(':not(:disabled)', '[type=reset]'),
|
||
|
},
|
||
|
};
|
||
|
};
|
||
|
}
|