UNPKG

@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.48 kB
/* 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 CarIcon = ({ width = 24, height = 24, hidden = false, title = 'Car' } = {}) => { return html `<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" viewBox="0 0 36 36" aria-hidden="${hidden ? 'true' : 'false'}" role="img" fill="currentColor" aria-label="${title}" > <path d="M33.291 17.288l-.792-.79-3.46-8.074A4 4 0 0025.362 6H10.638A4 4 0 006.96 8.424L3.5 16.5l-.793.793A2.412 2.412 0 002 19v14a1 1 0 001 1h2a1 1 0 001-1v-5h24v5a1 1 0 001 1h2a1 1 0 001-1V18.996a2.412 2.412 0 00-.709-1.708zM9.26 9.41a1.498 1.498 0 011.379-.909h14.724a1.498 1.498 0 011.38.91L29.565 16H6.434zM8 25a3 3 0 113-3 3 3 0 01-3 3zm20 0a3 3 0 113-3 3 3 0 01-3 3z" /> </svg>`; }; //# sourceMappingURL=Car.js.map