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.12 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 2H17V5H15zM25 13H28V15H25zM15 23H17V26H15zM4 13H7V15H4z"></path><path d="M7.55 5.03H9.55V8.030000000000001H7.55z" transform="rotate(-45 8.56 6.544)"></path><path d="M21.96 5.54H24.96V7.54H21.96z" transform="rotate(-45 23.469 6.539)"></path><path d="M22.46 19.94H24.46V22.94H22.46z" transform="rotate(-45 23.462 21.442)"></path><path d="M7.04 20.45H10.04V22.45H7.04z" transform="rotate(-45 8.554 21.447)"></path><path d="M4 28H28V30H4zM16 20a6 6 0 10-6-6A6 6 0 0016 20zm0-10v8a4 4 0 010-8z"></path></svg>`;
export default svgResultCarbonIcon;