UNPKG

@carbon/ibm-products

Version:
54 lines 1.65 kB
/** * Copyright IBM Corp. 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; /** * ---------------- * PageHeaderContentText * ---------------- */ export interface PageHeaderContentTextProps { /** * Provide child elements to be rendered inside PageHeaderContentText. */ children?: React.ReactNode; /** * Specify an optional className to be added to your PageHeaderContentText */ className?: string; /** * The PageHeaderContent's subtitle */ subtitle?: string; /** * Specify the element or component used to render the subtitle. */ subtitleAs?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; } export declare const PageHeaderContentText: { ({ className, children, subtitle, subtitleAs, ...other }: PageHeaderContentTextProps): React.JSX.Element; displayName: string; propTypes: { /** * Provide child elements to be rendered inside PageHeaderContentText. */ children: PropTypes.Requireable<PropTypes.ReactNodeLike>; /** * Specify an optional className to be added to your PageHeaderContentText */ className: PropTypes.Requireable<string>; /** * The PageHeaderContent's subtitle */ subtitle: PropTypes.Requireable<string>; /** * Specify the element used to render the subtitle. */ subtitleAs: PropTypes.Requireable<string>; }; }; //# sourceMappingURL=PageHeaderContentText.d.ts.map