reablocks
Version:
Component library for React
39 lines (38 loc) • 1.15 kB
TypeScript
import { FC, PropsWithChildren, ReactNode } from 'react';
import { NavigationBarDirectionTheme, NavigationTheme } from './NavigationTheme';
export interface NavigationBarProps extends PropsWithChildren {
/**
* Custom class names for the navigation bar and its sections.
*/
className?: string;
/**
* Custom class names for the top section of the navigation bar.
*/
classNameStart?: string;
/**
* Custom class names for the navigation section.
*/
classNameNavigation?: string;
/**
* Custom class names for the bottom section of the navigation bar.
*/
classNameEnd?: string;
/**
* Direction of the navigation bar layout.
* @default 'vertical'
*/
direction?: keyof NavigationBarDirectionTheme;
/**
* Content to be displayed at the start of the navigation bar.
*/
start?: ReactNode;
/**
* Content to be displayed at the end of the navigation bar.
*/
end?: ReactNode;
/**
* Theme overrides for the navigation bar.
*/
theme?: NavigationTheme;
}
export declare const NavigationBar: FC<NavigationBarProps>;