{currentVersion.planTitle} release notes
{releaseNotes.map((patch) => {
return (
setFocusedPatch(patch.version)}
/>
)
})}
import { useState } from 'react' import cx from 'classnames' import { ChevronDownIcon } from '@primer/octicons-react' import { GHAEReleaseNotePatch } from './GHAEReleaseNotePatch' import { GHAEReleaseNotesContextT } from './types' type GitHubAEProps = { context: GHAEReleaseNotesContextT } export function GHAEReleaseNotes({ context }: GitHubAEProps) { const { releaseNotes, releases, currentVersion } = context const [focusedPatch, setFocusedPatch] = useState('') return (