import themes from 'shared/themes/runtime.js' const svg = (color, d, shadowShift) => `url('data:image/svg+xml;base64,` + Buffer.from(` ` ).toString('base64') + `')` const topSvg = (color) => svg(color, "M0,0 L0,2 L 5,7 L 10,2 L10,0 z", 1) const bottomSvg = (color) => svg(color, "M0,8 L0,6 L 5,1 L 10,6 L10,8 z", -1) const style = { backgroundRepeat: 'repeat-x' } const PinkedRibbon = ({ top='base', bottom='dark', loading=false, theme='light' }) => { if (top === 'base') top = themes[theme].base else if (top === 'dark') top = themes[theme].dark if (bottom === 'base') bottom = themes[theme].base else if (bottom === 'dark') bottom = themes[theme].dark return (
{top &&
 
} {bottom &&
 
}
) } export default PinkedRibbon