@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.81 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 AnnotatePenIcon = ({ width = 24, height = 24, hidden = false, title = 'Annotate Pen', } = {}) => {
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="M28.023 4.36A.967.967 0 0027.98 3a.963.963 0 00-1.362-.044 1.561 1.561 0 00-.118.144l-.011-.014-8.74 8.736.012.016a.721.721 0 00-.145.119.993.993 0 101.524 1.258l.013.013 8.739-8.737-.015-.014a.813.813 0 00.146-.117zM29.8 5.883c-.72.721-9.537 9.645-9.588 9.7a2.214 2.214 0 01-2.362.029l-.767-.725L6.286 25.474a1.5 1.5 0 00-.327.48L4.088 32.36a.375.375 0 00.5.491l6.428-1.951a1.5 1.5 0 00.46-.313L33.06 9.079zm1.014-1.711l3.106 2.956a2.78 2.78 0 00-.807-3.228 3.3 3.3 0 00-3.22-1.06c-.179.064.065.3.138.375s.735.861.783.957zM3.723 27.486c-3.053-9.059.3-16.932 8.726-21.509 1.269-.69.268-2.706-1.01-2.012C2.19 8.992-1.077 17.405 2.286 27.5c1.437 4.314 1.437-.014 1.437-.014z"
/>
</svg>`;
};
//# sourceMappingURL=AnnotatePen.js.map