@uob-web-and-digital/component-library 2.20.0 → 2.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,12 +11,12 @@ export interface DocumentNavigationSectionProps {
|
|
|
11
11
|
subsections?: DocumentNavigationSubsectionProps[];
|
|
12
12
|
/** Whether the section should be expanded on first render */
|
|
13
13
|
openByDefault?: boolean;
|
|
14
|
-
/** Whether this section uses the gold highlight style */
|
|
15
|
-
isGoldSection?: boolean;
|
|
16
14
|
}
|
|
17
15
|
export interface DocumentNavigationProps {
|
|
18
16
|
theme?: ThemeProps;
|
|
19
17
|
inverse?: boolean;
|
|
18
|
+
documentTitle: string;
|
|
19
|
+
openByDefault?: boolean;
|
|
20
20
|
sections: DocumentNavigationSectionProps[];
|
|
21
21
|
}
|
|
22
|
-
export default function DocumentNavigation({ theme, inverse, sections }: DocumentNavigationProps): ReactElement;
|
|
22
|
+
export default function DocumentNavigation({ theme, inverse, documentTitle, openByDefault, sections }: DocumentNavigationProps): ReactElement;
|