Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
source(answers, input) {
return input
? Promise.resolve(fuse.search(input))
: Promise.resolve(icons.map(icon => icon.name));
},
searchable: true