open-consul/ui/packages/consul-ui/tests/pages/dc/kv/index.js

7 lines
160 B
JavaScript

export default function(visitable, creatable, kvs) {
return creatable({
visit: visitable(['/:dc/kv/:kv', '/:dc/kv'], str => str),
kvs: kvs(),
});
}