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

4 lines
87 B
JavaScript

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