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

4 lines
84 B
JavaScript

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