(attributes?: Record<string, string>)
| 14 | } |
| 15 | |
| 16 | function renderAttributes(attributes?: Record<string, string>): string { |
| 17 | if (!attributes) return ""; |
| 18 | return Object.entries(attributes) |
| 19 | .map(([key, value]) => ` ${key}="${escapeHtml(value)}"`) |
| 20 | .join(""); |
| 21 | } |
| 22 | |
| 23 | export function renderEmptyStateHtml(title: string, description: string): string { |
| 24 | return ` |
no test coverage detected