Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
light: {
backgroundColor: colorGray700,
},
outline: {
backgroundColor: colorGray700,
},
inverse: {
backgroundColor: colorGray700,
},
});
const capitalize = input => input.charAt(0).toUpperCase() + input.slice(1);
const iconSets = {
single: [],
multiple: [, ],
};
const generateBadgeStory = (
contents: Array,
config: {
docked?: $Keys,
icons?: string,
} = {},
) => {
const badgeWrapperStyle = [style.badgeWrapper];
if (config.docked) {
badgeWrapperStyle.push(style[config.docked]);
} else {
badgeWrapperStyle.push(style.center);
}
const badges = Object.keys(BADGE_TYPES).map(i => (