@carbon/ibm-products
Version:
Carbon for IBM Products
24 lines • 871 B
TypeScript
/**
* 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, { ReactNode } from 'react';
export interface CardTitleMediaProps {
/**
* Content to be rendered in the title media slot (typically an icon or small image)
*/
children?: ReactNode;
/**
* Optional class name for custom styling
*/
className?: string;
}
/**
* CardTitleMedia provides a media slot positioned to the left of the card title.
* The media slot adapts to the heading area height (min 48px, max 64px) and stays
* top-aligned when the title wraps to multiple lines.
*/
export declare let CardTitleMedia: React.ForwardRefExoticComponent<CardTitleMediaProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=CardTitleMedia.d.ts.map