(
container: HTMLElement,
label: string,
value: string,
options?: { className?: string },
)
| 7 | }; |
| 8 | |
| 9 | function appendDevelopmentInfoRow( |
| 10 | container: HTMLElement, |
| 11 | label: string, |
| 12 | value: string, |
| 13 | options?: { className?: string }, |
| 14 | ): HTMLElement { |
| 15 | const row = createOwnedElement(container, "div"); |
| 16 | const labelEl = createOwnedElement(container, "strong"); |
| 17 | labelEl.textContent = label; |
| 18 | row.appendChild(labelEl); |
| 19 | row.appendChild(createOwnedTextNode(container, ` ${value}`)); |
| 20 | if (options?.className) row.classList.add(options.className); |
| 21 | row.classList.add("qa-dev-info-row"); |
| 22 | container.appendChild(row); |
| 23 | return row; |
| 24 | } |
| 25 | |
| 26 | export function renderDevelopmentInfo( |
| 27 | container: HTMLElement, |
no test coverage detected