@denali-design/react
Version:
React.JS component library for the Denali CSS Framework
50 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 enum DnTabsStyles {
primary = "primary",
secondary = "secondary"
}
export declare const DnTabs: {
({ style, isVertical, isTabletDownHideLeft, children, className, ...rest }: DnTabsProps): JSX.Element;
defaultProps: {
style: DnTabsStyles;
isVertical: boolean;
isTabletDownHideLeft: boolean;
className: string;
};
Tab: {
({ isActive, isDisabled, children, className, ...rest }: DnTabItemProps): JSX.Element;
defaultProps: {
isActive: boolean;
isDisabled: boolean;
className: string;
};
};
SectionHeader: {
({ children, className, ...rest }: DnTabSectionHeaderProps): JSX.Element;
defaultProps: {
className: string;
};
};
};
export interface DnTabsProps {
style?: DnTabsStyles;
isVertical?: boolean;
isTabletDownHideLeft?: boolean;
children: React.ReactNode;
className?: string;
}
export interface DnTabItemProps {
isActive?: boolean;
isDisabled?: boolean;
children: React.ReactNode;
className?: string;
}
export interface DnTabSectionHeaderProps {
children: React.ReactNode;
className?: string;
}
//# sourceMappingURL=DnTabs.d.ts.map