@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.46 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 CampaignIcon = ({ width = 24, height = 24, hidden = false, title = 'Campaign' } = {}) => {
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}"
>
<circle cx="18" cy="18" r="4.3" />
<path
d="M6.227 20.311H2A16.172 16.172 0 0015.688 34v-4.227a12.007 12.007 0 01-9.461-9.462zm23.546 0a12.007 12.007 0 01-9.461 9.462V34A16.172 16.172 0 0034 20.311zM15.688 6.228V2A16.171 16.171 0 002 15.688h4.228a12 12 0 019.46-9.46zm14.084 9.46H34A16.171 16.171 0 0020.312 2v4.228a12 12 0 019.46 9.46z"
/>
</svg>`;
};
//# sourceMappingURL=Campaign.js.map