carbon-react
Version:
A library of reusable React components for easily building user interfaces.
12 lines (11 loc) • 638 B
TypeScript
import React from "react";
import { NavigationBarProps } from "..";
type FixedNavigationBarContextProps = {
submenuMaxHeight?: string;
};
declare const FixedNavigationBarContext: React.Context<FixedNavigationBarContextProps>;
export interface FixedNavigationBarContextProviderProps extends Pick<NavigationBarProps, "position" | "orientation" | "offset" | "children"> {
navbarRef: React.RefObject<HTMLElement>;
}
export declare const FixedNavigationBarContextProvider: ({ position, orientation, offset, children, navbarRef, }: FixedNavigationBarContextProviderProps) => React.JSX.Element;
export default FixedNavigationBarContext;