@spectrum-web-components/icons-workflow
Version:
[Spectrum Workflow Icons](https://spectrum.adobe.com/page/icons/) delivered in a flexible template tag so that they can be leveraged across various frameworks. The default export of this package pre-applies the `html` template tag from `lit-html` for ease
30 lines (29 loc) • 1.71 kB
JavaScript
/*
Copyright 2020 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/
import { tag as html } from '../custom-tag.js';
export { setCustomTemplateLiteralTag } from '../custom-tag.js';
export const BugIcon = ({ width = 24, height = 24, hidden = false, title = 'Bug' } = {}) => {
return html `<svg
xmlns="http://www.w3.org/2000/svg"
height="${height}"
viewBox="0 0 36 36"
width="${width}"
aria-hidden="${hidden ? 'true' : 'false'}"
role="img"
fill="currentColor"
aria-label="${title}"
>
<path
d="M26.194 7.242A9.8 9.8 0 0018 3a9.8 9.8 0 00-8.194 4.242A11.943 11.943 0 0018 10.5a11.943 11.943 0 008.194-3.258zm-20.978-.85L2.548 7.726a18.1 18.1 0 004.581 5.114A27.459 27.459 0 006.118 18H0v3h6.045a13.6 13.6 0 002.5 6.363 15.078 15.078 0 00-4.5 6.16l2.7 1.35a12.052 12.052 0 013.774-5.2 11.571 11.571 0 005.981 3.185V13.5A14.982 14.982 0 015.216 6.392zM36 21v-3h-6.118a27.459 27.459 0 00-1.011-5.16 18.1 18.1 0 004.581-5.114l-2.668-1.334A14.982 14.982 0 0119.5 13.5v19.358a11.571 11.571 0 005.979-3.185 12.052 12.052 0 013.774 5.2l2.7-1.35a15.078 15.078 0 00-4.5-6.16A13.6 13.6 0 0029.955 21z"
/>
</svg>`;
};
//# sourceMappingURL=Bug.js.map