diff options
Diffstat (limited to 'packages/react-docs/src/ts/components/documentation.tsx')
-rw-r--r-- | packages/react-docs/src/ts/components/documentation.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/react-docs/src/ts/components/documentation.tsx b/packages/react-docs/src/ts/components/documentation.tsx index 43ffc39c6..8be7cd62d 100644 --- a/packages/react-docs/src/ts/components/documentation.tsx +++ b/packages/react-docs/src/ts/components/documentation.tsx @@ -51,6 +51,7 @@ export interface DocumentationProps { availableVersions: string[]; docsInfo: DocsInfo; docAgnosticFormat?: DocAgnosticFormat; + sidebarHeader?: React.ReactNode; sourceUrl: string; } @@ -109,7 +110,7 @@ export class Documentation extends React.Component<DocumentationProps, Documenta <NestedSidebarMenu selectedVersion={this.props.selectedVersion} versions={this.props.availableVersions} - title={this.props.docsInfo.displayName} + sidebarHeader={this.props.sidebarHeader} topLevelMenu={this.props.docsInfo.getMenu(this.props.selectedVersion)} menuSubsectionsBySection={menuSubsectionsBySection} /> |