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