@denali-design/react
Version:
React.JS component library for the Denali CSS Framework
44 lines • 1.41 kB
TypeScript
/**
* Copyright 2020, Verizon Media
* Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms.
*/
import React from 'react';
export declare const DnNavbar: {
({ children, className, ...rest }: DnNavbarProps): JSX.Element;
Item: ({ children, className, isActive, href }: DnNavbarItemProps) => JSX.Element;
Left: ({ children, className }: DnNavbarItemProps) => JSX.Element;
Right: ({ children, className }: DnNavbarItemProps) => JSX.Element;
Center: ({ children, className }: DnNavbarItemProps) => JSX.Element;
Responsive: ({ children }: DnNavbarResponsiveProps) => JSX.Element;
Brand: ({ src, alt }: DnNavbarBrandProps) => JSX.Element;
};
export interface DnNavbarProps {
className?: string;
children?: React.ReactNode;
}
export interface DnNavbarItemProps {
className?: string;
isActive?: boolean;
children?: React.ReactNode;
href?: string;
}
export interface DnNavbarLeftProps {
className?: string;
children?: React.ReactNode;
}
export interface DnNavbarRightProps {
className?: string;
children?: React.ReactNode;
}
export interface DnNavbarCenterProps {
className?: string;
children?: React.ReactNode;
}
export interface DnNavbarResponsiveProps {
children?: React.ReactNode;
}
export interface DnNavbarBrandProps {
src: string;
alt?: string;
}
//# sourceMappingURL=DnNavbar.d.ts.map