UNPKG

@activecollab/components

Version:

ActiveCollab Components

19 lines 634 B
import { ReactElement, FC } from "react"; import { ItemProps } from "./Item/Item"; export type NavAlignType = "left" | "center" | "right"; export type NavRoleType = "bold" | "light"; export interface INavProps { children?: ReactElement<ItemProps>[]; /** Function for changing active navs. */ onSelect?: (index: number) => void; /** Aligment of nav component. */ alignment?: NavAlignType; /** CSS classes. */ className?: string; /** Role of nav component. */ role?: NavRoleType; /** Target id */ targetId?: string; } export declare const Nav: FC<INavProps>; //# sourceMappingURL=Nav.d.ts.map