@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.66 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 OfferIcon = ({ width = 24, height = 24, hidden = false, title = 'Offer' } = {}) => {
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="M18.26 10.911l1.993 5.228 5.629.264a.233.233 0 01.136.415l-4.4 3.5 1.489 5.382a.235.235 0 01-.356.256l-4.711-3.063-4.711 3.068a.235.235 0 01-.356-.256l1.486-5.391-4.4-3.5a.233.233 0 01.141-.414l5.629-.264 1.993-5.228a.236.236 0 01.438.003zM2 28H0v2a2 2 0 002 2h4v-2H2zM6 4h4v2H6zm2 26h4v2H8zM0 10h2v4H0zm2-4h2V4H2a2 2 0 00-2 2v2h2zM0 16h2v4H0zm0 6h2v4H0zm34-12h2v4h-2zm0 6h2v4h-2zm0 6h2v4h-2zm-20 8h4v2h-4zM12 4h4v2h-4zm22 0h-4v2h4v2h2V6a2 2 0 00-2-2zM18 4h4v2h-4zm16 26h-2v2h2a2 2 0 002-2v-2h-2zm-8 0h4v2h-4zm-6 0h4v2h-4zm4-26h4v2h-4z"
/>
</svg>`;
};
//# sourceMappingURL=Offer.js.map