soda-material
Version:
A React(>=18) component library that may follow [Material Design 3](https://m3.material.io/components) (a.k.a. Material You)
19 lines (18 loc) • 637 B
TypeScript
/// <reference types="react" />
import './navigation.scss';
import { HelperItem } from './Helper';
/**
* @specs https://m3.material.io/components/navigation-bar/specs
*/
export declare const NavigationBar: import("react").ForwardRefExoticComponent<{
items: Array<HelperItem & {
key: React.Key;
}>;
onChange?(item: HelperItem & {
key: React.Key;
}): void;
/**
* Fix the component to the bottom of the window
*/
fixed?: boolean | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "as" | "ref" | "onChange" | "fixed" | "items"> & import("react").RefAttributes<HTMLDivElement>>;