UNPKG

@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

37 lines (33 loc) 1.59 kB
/* 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, TemplateResult } from '../custom-tag.js'; export { setCustomTemplateLiteralTag } from '../custom-tag.js'; export const HistoryIcon = ({ width = 24, height = 24, hidden = false, title = 'History' } = {}): | string | TemplateResult => { 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="M19 6h-2a1 1 0 00-1 1v10.586a1 1 0 00.293.707L21.9 23.9a1 1 0 001.414 0l1.336-1.336a1 1 0 000-1.414L20 16.5V7a1 1 0 00-1-1z" /> <path d="M18 2A15.946 15.946 0 006.856 6.519 13.124 13.124 0 002.847 14H.5a.5.5 0 00-.5.5.49.49 0 00.147.35l3.537 4.033a.5.5 0 00.632 0l3.537-4.033A.49.49 0 008 14.5a.5.5 0 00-.5-.5H4.969a11.708 11.708 0 013.489-6.245 14 14 0 11-.009 20.481.5.5 0 00-.691.006l-.707.707a.506.506 0 000 .723A16 16 0 1018 2z" /> </svg>`; };