We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc93608 commit f9a3239Copy full SHA for f9a3239
src/app-layout/drawer/interfaces.ts
@@ -14,7 +14,7 @@ export interface DesktopDrawerProps {
14
toggleRefs: {
15
toggle: React.Ref<{ focus(): void }>;
16
close: React.Ref<{ focus(): void }>;
17
- onMount: () => void;
+ onMount?: () => void;
18
};
19
width: number;
20
topOffset: number | undefined;
src/app-layout/utils/use-focus-control.ts
@@ -12,7 +12,7 @@ export interface FocusControlRefs {
12
toggle: RefObject<Focusable>;
13
close: RefObject<Focusable>;
slider: RefObject<HTMLDivElement>;
- onMount?: (node: HTMLDivElement) => void;
focusPromise?: any;
}
0 commit comments