consul/ui/packages/consul-ui/app/utils/templatize.js

4 lines
84 B
JavaScript
Raw Normal View History

export default function(arr = []) {
return arr.map(item => `template-${item}`);
}