${this.label}
${this.text}
import {LitElement, html, unsafeCSS} from 'lit'; import {customElement, property} from 'lit/decorators.js'; import compentStyle from './tooltip.css?inline'; import '../icon-button/icon-button'; import '../../icons/icon-application-open-google'; import {classMap} from 'lit/directives/class-map.js'; export type TooltipVariant = 'neutral' | 'notification' | 'caution' | 'warning' | 'alarm'; @customElement('obc-tooltip') export class ObcTooltip extends LitElement { @property({type: String}) variant = 'neutral' as TooltipVariant; @property({type: String}) label = 'Title'; @property({type: String}) text = 'Tooltip text'; @property({type: Boolean}) rightArrow = false; override render() { return html`