/* eslint-disable @typescript-eslint/naming-convention */ import React from "react"; import type { RendererContext } from 'vscode-notebook-renderer'; interface IRenderInfo { container: HTMLElement; mime: string; value: GitHubIssuesValue[]; context: RendererContext; } interface GitHubIssuesValue { title: string; url: string; body: string; } export const IssuesList: React.FC<{ info: IRenderInfo }> = ({ info }) => { const issues = info.value.map(item => { return {item.title} {item.body} ; }); return
{issues}
Issue Description
; }; if (module.hot) { module.hot.addDisposeHandler(() => { // In development, this will be called before the renderer is reloaded. You // can use this to clean up or stash any state. }); }