@carbon/ibm-products
Version:
Carbon for IBM Products
36 lines (35 loc) • 1.29 kB
TypeScript
export const overflowAriaLabel_required_if_breadcrumbs_exist: (props: any, propName: any, componentName: any, location: any, propFullName: any, secret: any) => any;
/**
* The SimpleHeader is not public and only used internally by CreateFullPage.
*
* Component varieties:
* - Header with Breadcrumbs
* - Header with Title
* - Header with Breadcrumbs and Title
*
*
* The component will throw a warning message if neither a title or breadcrumbs are provided
* since it requires at least one of them.
* */
export function SimpleHeader({ breadcrumbs, className, title, noTrailingSlash, maxVisible, overflowAriaLabel, overflowTooltipAlign, ...rest }: {
[x: string]: any;
breadcrumbs: any;
className: any;
title: any;
noTrailingSlash?: boolean | undefined;
maxVisible: any;
overflowAriaLabel: any;
overflowTooltipAlign: any;
}): React.JSX.Element;
export namespace SimpleHeader {
namespace propTypes {
export let breadcrumbs: any;
export let className: any;
export let maxVisible: any;
export let noTrailingSlash: any;
export { overflowAriaLabel_required_if_breadcrumbs_exist as overflowAriaLabel };
export let overflowTooltipAlign: any;
export let title: any;
}
}
import React from 'react';