soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
20 lines (19 loc) • 664 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>, "ref" | "onChange" | "fixed" | "items" | "fab"> & import("react").RefAttributes<HTMLDivElement>>;