@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.55 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 BreadcrumbNavigationIcon = ({ width = 24, height = 24, hidden = false, title = 'Breadcrumb Navigation', } = {}) => {
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="M35.999 18l-8.022 9.469a1.5 1.5 0 01-1.144.53h-4.226a.5.5 0 01-.382-.823L30 18l-7.774-9.177A.5.5 0 0122.607 8h4.226a1.5 1.5 0 011.144.53zm-10 0l-8.021 9.469a1.5 1.5 0 01-1.145.53H1.001a1 1 0 01-1-1L0 9a1 1 0 011-1h15.833a1.5 1.5 0 011.145.53zM7.501 18A2.5 2.5 0 105 20.5 2.5 2.5 0 007.5 18zm6.5 0a2.5 2.5 0 10-2.5 2.5A2.5 2.5 0 0014 18zm6.5 0a2.5 2.5 0 10-2.5 2.5 2.5 2.5 0 002.5-2.5z"
/>
</svg>`;
};
//# sourceMappingURL=BreadcrumbNavigation.js.map