mirror of https://github.com/status-im/consul.git
12 lines
246 B
JavaScript
12 lines
246 B
JavaScript
|
export default function(clickable, is) {
|
||
|
return function(obj) {
|
||
|
return {
|
||
|
...obj,
|
||
|
...{
|
||
|
create: clickable('[data-test-create]'),
|
||
|
createIsEnabled: is(':not(:disabled)', '[data-test-create]'),
|
||
|
},
|
||
|
};
|
||
|
};
|
||
|
}
|