carbon-custom-elements
Version:
A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.
16 lines (15 loc) • 1.14 kB
JavaScript
/**
* @license
*
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { svg } from 'lit-html';
import spread from '../../../globals/directives/spread';
const svgResultCarbonIcon = ({ children, ...attrs } = {}) =>
svg`<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" fill="currentColor" ...="${spread(
attrs
)}" aria-hidden="true" width="32" height="32" viewBox="0 0 32 32">${children}<path d="M15 4H17V7H15zM25 15H28V17H25zM15 25H17V28H15zM4 15H7V17H4z"></path><path d="M7.55 7.04H9.55V10.04H7.55z" transform="rotate(-45 8.55 8.548)"></path><path d="M21.96 7.55H24.96V9.55H21.96z" transform="rotate(-45 23.454 8.555)"></path><path d="M22.45 21.95H24.45V24.95H22.45z" transform="rotate(-45 23.452 23.446)"></path><path d="M7.05 22.45H10.05V24.45H7.05z" transform="rotate(-45 8.544 23.451)"></path><path d="M4 30H28V32H4zM4 0H28V2H4zM16 10a6 6 0 106 6A6 6 0 0016 10zm-4 6a4 4 0 014-4v8A4 4 0 0112 16z"></path></svg>`;
export default svgResultCarbonIcon;