@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
33 lines (32 loc) • 1.65 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 TargetedIcon = ({ width = 24, height = 24, hidden = false, title = 'Targeted' } = {}) => {
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="M17.225 15.281L12 10.056V6.847a2 2 0 00-.586-1.415L6.854.239A.5.5 0 006 .592L4.5 4.5.6 6.018a.5.5 0 00-.354.854l5.173 4.56A1.98 1.98 0 006.828 12h3.173l5.262 5.251a.693.693 0 00.981 0l.981-.981a.693.693 0 000-.989zm2.103-1.038a3.057 3.057 0 01-.449 3.7l-.982.982a3.052 3.052 0 01-3.611.543 3.994 3.994 0 105.042-5.223z"
/>
<path
d="M18 2.1a15.824 15.824 0 00-5.5 1l.675.781A4.343 4.343 0 0114.379 6.9v1.659a10.24 10.24 0 11-5.833 5.863H6.855A4.339 4.339 0 013.827 13.2l-.747-.658A15.891 15.891 0 1018 2.1z"
/>
</svg>`;
};
//# sourceMappingURL=Targeted.js.map