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

33 lines (32 loc) 1.62 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 DraftIcon = ({ width = 24, height = 24, hidden = false, title = 'Draft' } = {}) => { 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="M20 2v10h10L20 2zm15.785 19.721l-3.505-3.506a.739.739 0 00-.527-.215h-.023a.833.833 0 00-.564.247L20.344 29.069a.608.608 0 00-.153.256l-2.027 6c-.069.229.279.517.476.517a.313.313 0 00.037 0c.168-.039 5.123-1.764 6-2.028a.6.6 0 00.252-.151l10.824-10.829A.835.835 0 0036 22.3a.743.743 0 00-.215-.579zm-11.6 10.963c-1.314.395-3.3 1.229-4.43 1.568l1.56-4.431z" /> <path d="M19 14a1 1 0 01-1-1V2H7a1 1 0 00-1 1v30a1 1 0 001 1h9.079l1.839-5.443a2.827 2.827 0 01.752-1.207L30 16.127V14z" /> </svg>`; }; //# sourceMappingURL=Draft.js.map