@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.67 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 GraphDonutIcon = ({ width = 24, height = 24, hidden = false, title = 'Graph Donut', } = {}) => {
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 2.728v7.19a.489.489 0 00.353.466 7.96 7.96 0 010 15.234.489.489 0 00-.353.466v7.189a.513.513 0 00.587.506 15.986 15.986 0 000-31.555.513.513 0 00-.587.504zm-7.041 9.099a8.036 8.036 0 012.69-1.444A.486.486 0 0016 9.92V2.729a.514.514 0 00-.587-.506A15.977 15.977 0 006.3 7.111a.511.511 0 00.1.767l5.98 3.982a.485.485 0 00.579-.033zM10 18a7.914 7.914 0 01.333-2.275.486.486 0 00-.193-.551L4.168 11.2a.513.513 0 00-.748.206 15.989 15.989 0 0011.993 22.371.513.513 0 00.587-.506v-7.188a.489.489 0 00-.353-.466A7.977 7.977 0 0110 18z"
/>
</svg>`;
};
//# sourceMappingURL=GraphDonut.js.map