Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
for (let i = 0; i < slotNames.length; i++) {
let slot = slotNames[i];
let currSlotJSX = semanticSlotWidget(currVariantSemanticSlots[slot as keyof ISemanticColors], mapping[slot]);
tempJSXList.push(currSlotJSX);
}
return tempJSXList;
} else {
return [];
}
};
let semanticSlotsNone = props.theme.semanticColors;
slotNames = trimSemanticSlotsOrNames(Object.keys(semanticSlotsNone)) as ISlotNames;
noneSlots = fillVariantSlotsList(VariantThemeType.None);
neutralSlots = fillVariantSlotsList(VariantThemeType.Neutral);
softSlots = fillVariantSlotsList(VariantThemeType.Soft);
strongSlots = fillVariantSlotsList(VariantThemeType.Strong);
return (
<div>
</div>
);
};