@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.06 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 ReuseIcon = ({ width = 24, height = 24, hidden = false, title = 'Reuse' } = {}) => {
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="M16.74 4.308a13.767 13.767 0 00-10.561 6.3l-3.13-1.634a.692.692 0 00-.937.3.673.673 0 00-.043.523L4.4 17.333a.431.431 0 00.541.283l7.483-2.41a.679.679 0 00.4-.335.69.69 0 00-.29-.937l-3.29-1.721A10.316 10.316 0 0119.4 7.857a.863.863 0 00.994-.625l.432-1.683a.859.859 0 00-.661-1.065 13.722 13.722 0 00-3.425-.176zm16.172 3.947a.678.678 0 00-.449-.273l-7.783-1.3a.436.436 0 00-.322.076.43.43 0 00-.173.281l-1.2 7.77a.678.678 0 00.117.512.691.691 0 00.968.16l2.892-2.081a10.188 10.188 0 011.138 3.919 10.317 10.317 0 01-2.459 7.481.869.869 0 00.023 1.187l1.222 1.227a.865.865 0 001.254-.014 13.732 13.732 0 001.668-15.851l2.948-2.124a.691.691 0 00.156-.97zm-9.147 20.811l-6.028-5.048a.675.675 0 00-.5-.164.691.691 0 00-.638.746l.3 3.68a10.382 10.382 0 01-8.871-6.78.866.866 0 00-1.047-.564l-1.665.473a.869.869 0 00-.6 1.1 13.821 13.821 0 0012.457 9.255l.283 3.508a.691.691 0 00.749.634.678.678 0 00.465-.242l5.141-5.989a.432.432 0 00-.05-.609z"
/>
</svg>`;
};
//# sourceMappingURL=Reuse.js.map