@raid-ui/icons
Version:
@raid-ui icon components
1 lines • 951 B
JavaScript
function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}import*as React from"react";import{Icon}from"./icon.js";const O=({strokeWidth:e,titleId:t,title:o})=>React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round",width:"100%",height:"100%",focusable:!1,"aria-labelledby":"Hexagon-icon"},o?React.createElement("title",{id:t},o):null,React.createElement("path",{d:"M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"}));export const Hexagon=e=>React.createElement(Icon,e,React.createElement(O,_extends({strokeWidth:e.strokeWidth,title:e.title,titleId:e.titleId},e)));Hexagon.defaultProps={strokeWidth:2,title:"Hexagon",titleId:"Hexagon-icon"};