Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
items={events}
viewFields={[
{
name: 'name',
displayName: 'Event',
sorting: true
},
{
name: 'city',
displayName: 'Location',
sorting: true,
minWidth: 100
}
]}
compact={true}
selectionMode={SelectionMode.single}
selection={this._getSelection} />}
);
}
}