@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.92 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 TeapotIcon = ({ width = 24, height = 24, hidden = false, title = 'Teapot' } = {}) => {
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="M26.047 11a11.1 11.1 0 00-6.675-3.136 2.211 2.211 0 00.878-1.739 2.25 2.25 0 00-4.5 0 2.212 2.212 0 001.006 1.825A11.161 11.161 0 0010.7 11zm1.772 3H8.475a16.416 16.416 0 00-1.419 4.159h-.033c-1.3-.537-1.123-.977-2.229-3.853-.637-1.656-2.65-1.866-3.383-2.033a.738.738 0 00-.82.409l-.446.892c-.2.4-.019 1 .43 1.034a1.508 1.508 0 011.284.745 9.735 9.735 0 01.548 2.075c.216 1.177.413 3.367 1.58 4.835a7.3 7.3 0 003.289 2.225 12.642 12.642 0 005.254 7.285 1.531 1.531 0 00.824.232H23.4a1.53 1.53 0 00.824-.232 12.53 12.53 0 004.941-6.3c.1-.035.2-.069.288-.108a14.225 14.225 0 003.378-1.984 7.766 7.766 0 002.922-6.192A4.6 4.6 0 0027.819 14zm4.206 7.091a8.2 8.2 0 01-2.166 1.573A14.006 14.006 0 0030 20.75a15.235 15.235 0 00-.885-4.852c.866-.975 2.539-1.643 3.649-.63 1.603 1.461.482 4.518-.739 5.823z"
/>
</svg>`;
};
//# sourceMappingURL=Teapot.js.map