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.22 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="24" height="24" viewBox="0 0 32 32">${children}<path d="M25.232 12.866H29.232V14.866H25.232z" transform="rotate(30 27.232 13.866)"></path><path d="M26 8H30V10H26z"></path><path d="M2.768 12.866H6.768V14.866H2.768z" transform="rotate(150 4.768 13.866)"></path><path d="M26 30H24V25a5.0059 5.0059 0 00-5-5H13a5.0059 5.0059 0 00-5 5v5H6V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM16 4a5 5 0 11-5 5 5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0016 2z"></path><path d="M25.232 3.134H29.232V5.134H25.232z" transform="rotate(-30 27.232 4.134)"></path><path d="M2 8H6V10H2z"></path><path d="M2.768 3.134H6.768V5.134H2.768z" transform="rotate(-150 4.768 4.134)"></path></svg>`;
export default svgResultCarbonIcon;