Work in progress
'use babel';
import quickSelect from 'atom-quick-select';
const selection = await quickSelect(['One', 'Tow', 'Three'])
if (selection) {
console.log('selection', selection)
}
'use babel';
import quickSelect from 'atom-quick-select';
const selection = await quickSelect([
{ label: 'One', description: 'Number 1' },
{ label: 'Tow', description: 'Number 2' },
{ label: 'Three', description: 'Number 3' }
])
if (selection) {
console.log('selection', selection)
}
'use babel';
import quickSelect from 'atom-quick-select';
const selection = await quickSelect([
{ name: 'One' },
{ name: 'Tow' },
{ name: 'Three' }
], {
normalizeItem: ({ name }) => { label: name }
})
if (selection) {
console.log('selection', selection)
}