@raid-ui/icons
Version:
@raid-ui icon components
1 lines • 900 B
JavaScript
function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t}).apply(this,arguments)}import*as React from"react";import{Icon}from"./icon.js";const O=({strokeWidth:t,titleId:e,title:o})=>React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round",width:"100%",height:"100%",focusable:!1,"aria-labelledby":"Octagon-icon"},o?React.createElement("title",{id:e},o):null,React.createElement("path",{d:"M7.86 2h8.28L22 7.86v8.28L16.14 22H7.86L2 16.14V7.86L7.86 2z"}));export const Octagon=t=>React.createElement(Icon,t,React.createElement(O,_extends({strokeWidth:t.strokeWidth,title:t.title,titleId:t.titleId},t)));Octagon.defaultProps={strokeWidth:2,title:"Octagon",titleId:"Octagon-icon"};