@carbon/ibm-products
Version:
Carbon for IBM Products
36 lines (35 loc) • 1.22 kB
TypeScript
import React from 'react';
export interface InterstitialScreenHeaderProps {
/**
* Provide the optional content for header section and will be render after header titles and before progress indicator.
* People can make use of this if they want to have custom header.
*/
children?: React.ReactNode;
/**
* Provide an optional class to be applied to the containing node.
*/
className?: string;
/**
* Provide an optional title to be applied to the header >.
*/
headerTitle?: string;
/**
* Provide an optional sub title to be applied to the header >.
*/
headerSubTitle?: string;
/**
* Tooltip text and aria label for the Close button icon.
*/
closeIconDescription?: string;
/**
* Optional parameter to hide the progress indicator when multiple steps are used.
*/
hideProgressIndicator?: boolean;
}
export type EnrichedChildren = {
children: React.ReactNode;
stepTitle: string;
translateWithId?: (id: string) => string;
};
declare const InterstitialScreenHeader: React.ForwardRefExoticComponent<InterstitialScreenHeaderProps & React.RefAttributes<HTMLDivElement>>;
export default InterstitialScreenHeader;