Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const LMFavorite = (row, cell, value, col, rowData, api): string => {
const isChecked: boolean = (rowData && rowData.price > 200); // jshint ignore:line
const icon = isChecked ? 'star-filled' : 'star-outlined';
return '<span class="audible">' + Soho.Locale.translate('Favorite') +
'</span><span class="icon-favorite">' + SohoIconUtils.createIcon({ icon: icon }) + '</span>';
};