@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.75 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 TrapIcon = ({ width = 24, height = 24, hidden = false, title = 'Trap' } = {}) => {
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="M34.191 6.809a4.358 4.358 0 00-1.147-.727c-2.018-.85-10.257-4.282-14.618-4.829-4.122-.515-7.858 0-9.791 1.932S7.99 10.4 9.794 14.136a75.205 75.205 0 004.041 6.989L2.662 32.3a2.065 2.065 0 00.105 2.934 2.066 2.066 0 002.935.106l10.129-10.131a3.7 3.7 0 002.69.982 8.968 8.968 0 003.359-.768 26.846 26.846 0 007.391-5.211 26.708 26.708 0 005.152-7.332c1.1-2.667 1.016-4.823-.232-6.071zm-1.615 5.311a21.774 21.774 0 01-4.748 6.709 21.774 21.774 0 01-6.709 4.748c-1.813.75-3.272.824-3.9.2s-.547-2.078.2-3.9a21.774 21.774 0 014.748-6.709 21.774 21.774 0 016.709-4.748 7.133 7.133 0 012.6-.619 1.8 1.8 0 011.3.418c.624.625.548 2.081-.2 3.9z"
/>
</svg>`;
};
//# sourceMappingURL=Trap.js.map