@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.76 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 OfferDeleteIcon = ({ width = 24, height = 24, hidden = false, title = 'Offer Delete', } = {}) => {
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="M16 4h-4v2h4zm6 0h-4v2h4zM2 6h2V4H2a2 2 0 00-2 2v2h2zm32 8h2v-4h-2zm0 2.893a12.279 12.279 0 012 1.743V16h-2zM24 6h4V4h-4zm10-2h-4v2h4v2h2V6a2 2 0 00-2-2zM2 10H0v4h2zm0 6H0v4h2zm16.213-1.861L16.22 8.911a.235.235 0 00-.439 0l-1.993 5.228-5.63.261a.233.233 0 00-.137.415l4.4 3.5-1.487 5.385a.234.234 0 00.355.257L16 20.894l.238.155a12.322 12.322 0 017.235-5.83l.5-.4a.233.233 0 00-.137-.415zM14 30v2h1.769a12.223 12.223 0 01-.685-2zm-6 2h4v-2H8zm2-28H6v2h4zM2 22H0v4h2zm0 6H0v2a2 2 0 002 2h4v-2H2zm25-9.9a8.9 8.9 0 108.9 8.9 8.9 8.9 0 00-8.9-8.9zm5 9.4a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h9a.5.5 0 01.5.5z"
/>
</svg>`;
};
//# sourceMappingURL=OfferDelete.js.map