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

30 lines (29 loc) 2.02 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 } from '../custom-tag.js'; export { setCustomTemplateLiteralTag } from '../custom-tag.js'; export const VariableIcon = ({ width = 24, height = 24, hidden = false, title = 'Variable' } = {}) => { 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="M10.909 10.692c-.093-.123-.06-.278.155-.278h3.691c.216 0 .278.033.371.215l2.922 5.325h.062l3.077-5.385c.093-.155.123-.155.278-.155h3.26c.186 0 .248.093.156.248-1.078 1.721-3.448 5.508-4.648 7.2a399.724 399.724 0 004.956 7.479c.123.123.06.246-.156.246H21.25a.446.446 0 01-.4-.246l-3.077-5.354h-.03L14.572 25.4c-.062.122-.125.185-.338.185h-3.295a.173.173 0 01-.153-.278c1.293-1.937 3.415-5.322 4.738-7.262zm-1.77 21.025a.991.991 0 00.237-1.359A22.447 22.447 0 015.577 18a22.445 22.445 0 013.8-12.358.991.991 0 00-.238-1.359l-1.223-.872a1.015 1.015 0 00-1.428.253A25.936 25.936 0 002.077 18a25.942 25.942 0 004.411 14.337 1.014 1.014 0 001.428.253zm18.945.873a1.014 1.014 0 001.428-.253A25.942 25.942 0 0033.923 18a25.936 25.936 0 00-4.411-14.336 1.015 1.015 0 00-1.428-.253l-1.222.872a.991.991 0 00-.238 1.359A22.445 22.445 0 0130.423 18a22.447 22.447 0 01-3.8 12.358.991.991 0 00.237 1.359z" /> </svg>`; }; //# sourceMappingURL=Variable.js.map