{}}
style={{
marginTop: '40px',
height: 'calc( 100% - 40px )',
overflowY: 'scroll',
display: 'flex',
justifyContent: 'center',
margin: '40px',
}}
>
{versionInfo?.all?.[id]?.name}
{versionInfo?.all?.[id]?.body ? (
}>
{versionInfo.all[id].body}
) : (
'no patch notes for this version'
)}
);
}}
fnGetId={(id) => {
return id;
}}
nNumItems={versionInfo?.all?.length}
nHeight={window.innerHeight - 150}
nItemHeight={window.innerHeight - 200}
nItemMarginX={0}
initialColumn={0}
autoFocus={true}
fnGetColumnWidth={(...args: any[]) => {
console.log('cw', args);
return window.innerWidth;
}}
/>