UNPKG

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.21 kB
/** * @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="M30 20H29V2H27V20H26a2.0027 2.0027 0 00-2 2v2a2.0027 2.0027 0 002 2h1v4h2V26h1a2.0027 2.0027 0 002-2V22A2.0027 2.0027 0 0030 20zm0 4H26V22h4zM22 14H21V2H19V14H18a2.002 2.002 0 00-2 2v2a2.0023 2.0023 0 002 2h1V30h2V20h1a2.0027 2.0027 0 002-2V16A2.0023 2.0023 0 0022 14zm0 4H18V16h4zM14 7H13V2H11V7H10A2.002 2.002 0 008 9v2a2.002 2.002 0 002 2h1V30h2V13h1a2.002 2.002 0 002-2V9A2.002 2.002 0 0014 7zm0 4H10V9h4zM6 21H5V2H3V21H2a2.0023 2.0023 0 00-2 2v2a2.0023 2.0023 0 002 2H3v3H5V27H6a2.0023 2.0023 0 002-2V23A2.0023 2.0023 0 006 21zm0 4H2V23l4-.001z" transform="translate(0 .005)"></path></svg>`; export default svgResultCarbonIcon;