@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
31 lines (30 loc) • 1.51 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 StopwatchIcon = ({ width = 24, height = 24, hidden = false, title = 'Stopwatch', } = {}) => {
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="M20 2h1a1 1 0 000-2h-4a1 1 0 000 2h1v2h2z" />
<path
d="M19 4a14.94 14.94 0 00-9.9 3.729L7.437 6.062l.708-.707A1 1 0 106.73 3.941l-.707.707-1.414 1.414-.709.708a1 1 0 001.416 1.414l.707-.707 1.669 1.668A15 15 0 1019 4zm0 28a13 13 0 117.833-23.375l-8.925 8.925c-.021.021-.037.04-.057.062a1.858 1.858 0 102.619 2.635c.023-.021.046-.045.068-.067l8.913-8.912A13 13 0 0119 32z"
/>
</svg>`;
};
//# sourceMappingURL=Stopwatch.js.map