mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-25 11:52:10 +00:00
Add change for assumed future API shape
This commit is contained in:
@@ -46,10 +46,7 @@ export function Table(props: BlockProps<DocumentBlockTable>) {
|
||||
};
|
||||
const withHeader = hasVisibleHeader(block, block.data.view);
|
||||
const withStickyHeader =
|
||||
withHeader &&
|
||||
context.mode !== 'print' &&
|
||||
'stickyHeader' in block.data.view &&
|
||||
block.data.view.stickyHeader === true;
|
||||
withHeader && context.mode !== 'print' && block.data.view.stickyHeader === true;
|
||||
|
||||
if (withStickyHeader) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user