@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
33 lines (32 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 ForecastIcon = ({ width = 24, height = 24, hidden = false, title = 'Forecast' } = {}) => {
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="M28.971 34H7a1.117 1.117 0 01-.953-1.477L7.879 26h20.214l1.831 6.523A1.117 1.117 0 0128.971 34zM32.85 2.676l-2.073 2.463a2.623 2.623 0 00-.477 2.526l1.027 3.051-2.466-2.073a2.623 2.623 0 00-2.525-.479L23.284 9.19l2.073-2.463a2.623 2.623 0 00.48-2.527L24.81 1.15l2.463 2.073A2.623 2.623 0 0029.8 3.7z"
/>
<path
d="M29.135 13.316l-2.129-1.791-2.637.887A3.4 3.4 0 0120.684 7l1.791-2.129-.415-1.233A12.352 12.352 0 009 24h17.291A12.316 12.316 0 0030 15.176a12.576 12.576 0 00-.075-1.363 3.416 3.416 0 01-.79-.497z"
/>
</svg>`;
};
//# sourceMappingURL=Forecast.js.map