@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.48 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 LabelsIcon = ({ width = 24, height = 24, hidden = false, title = 'Labels' } = {}) => {
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="M33.293 15.293l-15-15A1 1 0 0017.586 0H5a1 1 0 00-1 1v12.586a1 1 0 00.293.707l15 15a1 1 0 001.414 0l12.586-12.586a1 1 0 000-1.414zM10 8.6A2.6 2.6 0 1112.6 6 2.6 2.6 0 0110 8.6z"
/>
<path
d="M33.293 21.507l-.793-.793-11.793 11.793a1 1 0 01-1.414 0l-15-15A1 1 0 014 16.8v3a1 1 0 00.293.708l15 15a1 1 0 001.414 0l12.586-12.587a1 1 0 000-1.414z"
/>
</svg>`;
};
//# sourceMappingURL=Labels.js.map