@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
31 lines (30 loc) • 1.41 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 ThumbUpIcon = ({ width = 24, height = 24, hidden = false, title = 'Thumb Up' } = {}) => {
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}"
>
<rect height="18" rx="1" ry="1" width="6" x="2" y="14" />
<path
d="M30.967 14H21a54.94 54.94 0 001-9.08C22 3.259 20.968 2 20 2a1.839 1.839 0 00-2 2 11.326 11.326 0 01-2.516 6.258A46.35 46.35 0 0110 15.042V30s2.809-.033 14 0a3.946 3.946 0 003.677-2.424l5.128-10.788A2 2 0 0030.967 14z"
/>
</svg>`;
};
//# sourceMappingURL=ThumbUp.js.map