@0xsequence/connect
Version:
Connect package for Sequence Web SDK
15 lines • 987 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export const getTwitchLogo = ({ isDarkMode }) => {
let fillColor;
if (isDarkMode === undefined) {
fillColor = '#9146FF';
}
else {
fillColor = isDarkMode ? 'white' : 'black';
}
const TwitchLogo = props => {
return (_jsx("svg", { version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", x: "0px", y: "0px", viewBox: "0 0 2400 2800", transform: "scale(0.80)", ...props, children: _jsx("g", { children: _jsxs("g", { id: "Layer_1-2", children: [_jsx("path", { fill: fillColor, d: "M500,0L0,500v1800h600v500l500-500h400l900-900V0H500z M2200,1300l-400,400h-400l-350,350v-350H600V200h1600\n V1300z" }), _jsx("rect", { width: "200", height: "600", x: "1700", y: "550", fill: fillColor }), _jsx("rect", { width: "200", height: "600", x: "1150", y: "550", fill: fillColor })] }) }) }));
};
return TwitchLogo;
};
//# sourceMappingURL=TwitchLogo.js.map