Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
renderRow(row) {
const { itemText, itemGutter, backgroundImagesEnabled } = this.getLayoutSettings();
const { style } = this.props;
const styleName = itemGutter === 'noGutter' ? `${itemText} no-gutter` : `${itemText} ${itemGutter}-gutter`;
const tileItemStyle = {
item: {
...style.item,
marginLeft: itemGutter === 'noGutter' ? 0 : defaultThemeVariables.SmallGutter,
},
text: style.text,
};
const shortcutItems = _.map(row, (shortcut) => {
return (
);
});