mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-13 20:14:56 +02:00
21 lines
703 B
TypeScript
21 lines
703 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
import { type ReactNode } from 'react';
|
|
/**
|
|
* Split links by left/right. If position is unspecified, fallback to right.
|
|
*/
|
|
export declare function splitNavbarItems<T extends {
|
|
position?: 'left' | 'right';
|
|
}>(items: T[]): [leftItems: T[], rightItems: T[]];
|
|
/**
|
|
* Composes multiple navbar state providers that are mutually dependent and
|
|
* hence can't be re-ordered.
|
|
*/
|
|
export declare function NavbarProvider({ children }: {
|
|
children: ReactNode;
|
|
}): JSX.Element;
|
|
//# sourceMappingURL=navbarUtils.d.ts.map
|