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) • 989 B
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="16" height="16" viewBox="0 0 32 32">${children}<path d="M20 24H11.86a4.17 4.17 0 00-.43-1L22 12.43A3.86 3.86 0 0024 13a4 4 0 10-3.86-5H14v2h6.14a4.17 4.17 0 00.43 1L10 21.57A3.86 3.86 0 008 21a4 4 0 103.86 5H20v3h8V21H20zM24 7a2 2 0 11-2 2A2 2 0 0124 7zM8 27a2 2 0 112-2A2 2 0 018 27zm14-4h4v4H22zM7.05 15.75a9 9 0 010-13.5l1.32 1.5a7 7 0 000 10.5z"></path><path d="M9.69,12.75a5,5,0,0,1,0-7.5L11,6.75a3,3,0,0,0,0,4.5Z"></path></svg>`;
export default svgResultCarbonIcon;