@icon-park/vue-next
Version:
Vue3 Icons for IconPark
38 lines • 1.26 kB
JavaScript
import { createVNode as _createVNode } from "vue";
import { IconWrapper } from '../runtime';
export default IconWrapper('baseball-cap', true, function (props) {
return _createVNode("svg", {
"width": props.size,
"height": props.size,
"viewBox": "0 0 48 48",
"fill": "none"
}, [_createVNode("path", {
"d": "M12 30C12 21.1634 19.1634 14 28 14V14C36.8366 14 44 21.1634 44 30V36H12V30Z",
"stroke": props.colors[0],
"stroke-width": props.strokeWidth,
"stroke-linecap": props.strokeLinecap,
"stroke-linejoin": props.strokeLinejoin
}, null), _createVNode("path", {
"d": "M21.9997 36C20.9997 32.5 20.9997 14 27.9997 14C34.9997 14 34.4997 32 33.9997 36",
"stroke": props.colors[0],
"stroke-width": props.strokeWidth
}, null), _createVNode("rect", {
"x": "4",
"y": "36",
"width": "30",
"height": "6",
"rx": "3",
"fill": props.colors[1],
"stroke": props.colors[0],
"stroke-width": props.strokeWidth,
"stroke-linecap": props.strokeLinecap,
"stroke-linejoin": props.strokeLinejoin
}, null), _createVNode("circle", {
"cx": "28",
"cy": "10",
"r": "4",
"fill": props.colors[1],
"stroke": props.colors[0],
"stroke-width": props.strokeWidth
}, null)]);
});