@denali-design/react
Version:
React.JS component library for the Denali CSS Framework
42 lines • 1.22 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 DnSidebar: {
({ isTabletDownHideLeft, children, className, ...rest }: DnSidebarProps): JSX.Element;
defaultProps: {
isTabletDownHideLeft: boolean;
className: string;
};
Item: {
({ isActive, isDisabled, children, className, ...rest }: DnSidebarItemProps): JSX.Element;
defaultProps: {
isActive: boolean;
isDisabled: boolean;
className: string;
};
};
SectionHeader: {
({ children, className, ...rest }: DnSidebarSectionHeaderProps): JSX.Element;
defaultProps: {
className: string;
};
};
};
export interface DnSidebarProps {
isTabletDownHideLeft?: boolean;
children: React.ReactNode;
className?: string;
}
export interface DnSidebarItemProps {
isActive?: boolean;
isDisabled?: boolean;
children: React.ReactNode;
className?: string;
}
export interface DnSidebarSectionHeaderProps {
children: React.ReactNode;
className?: string;
}
//# sourceMappingURL=DnSidebar.d.ts.map