@raid-ui/icons
Version:
@raid-ui icon components
1 lines • 900 B
JavaScript
function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(e[c]=r[c])}return e}).apply(this,arguments)}import*as React from"react";import{Icon}from"./icon.js";const O=({strokeWidth:e,titleId:t,title:r})=>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":"Search-icon"},r?React.createElement("title",{id:t},r):null,React.createElement("circle",{cx:11,cy:11,r:8}),React.createElement("path",{d:"M21 21l-4.35-4.35"}));export const Search=e=>React.createElement(Icon,e,React.createElement(O,_extends({strokeWidth:e.strokeWidth,title:e.title,titleId:e.titleId},e)));Search.defaultProps={strokeWidth:2,title:"Search",titleId:"Search-icon"};