@icon-park/vue-next
Version:
Vue3 Icons for IconPark
36 lines • 1.49 kB
JavaScript
import { createVNode as _createVNode } from "vue";
import { IconWrapper } from '../runtime';
export default IconWrapper('nintendo-switch', true, function (props) {
return _createVNode("svg", {
"width": props.size,
"height": props.size,
"viewBox": "0 0 48 48",
"fill": "none"
}, [_createVNode("path", {
"d": "M6 18C6 12.3431 6 9.51472 7.75736 7.75736C9.51472 6 12.3431 6 18 6H20V42H18C12.3431 42 9.51472 42 7.75736 40.2426C6 38.4853 6 35.6569 6 30V18Z",
"fill": props.colors[1],
"stroke": props.colors[0],
"stroke-width": props.strokeWidth,
"stroke-linecap": props.strokeLinecap,
"stroke-linejoin": props.strokeLinejoin
}, null), _createVNode("path", {
"d": "M42 18C42 12.3431 42 9.51472 40.2426 7.75736C38.4853 6 35.6569 6 30 6H28V42H30C35.6569 42 38.4853 42 40.2426 40.2426C42 38.4853 42 35.6569 42 30V18Z",
"fill": props.colors[1],
"stroke": props.colors[0],
"stroke-width": props.strokeWidth,
"stroke-linecap": props.strokeLinecap,
"stroke-linejoin": props.strokeLinejoin
}, null), _createVNode("path", {
"d": "M35 13V15",
"stroke": props.colors[2],
"stroke-width": props.strokeWidth,
"stroke-linecap": props.strokeLinecap,
"stroke-linejoin": props.strokeLinejoin
}, null), _createVNode("path", {
"d": "M13 33V35",
"stroke": props.colors[2],
"stroke-width": props.strokeWidth,
"stroke-linecap": props.strokeLinecap,
"stroke-linejoin": props.strokeLinejoin
}, null)]);
});