@carbon/ibm-products
Version:
Carbon for IBM Products
18 lines • 840 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 from 'react';
/**
* CardHeader component - Header section of the card.
* Layout is handled entirely by CSS Grid on __header:
* - CardHeaderMedia spans both columns (full-width row above the title area)
* - CardTitleMedia occupies column 1 (left icon slot)
* - CardTitle occupies column 2 (right text slot), or spans full width when
* CardTitleMedia is absent — detected by the :has selector in SCSS.
* No child-scanning or wrapper injection is needed.
*/
export declare let CardHeader: React.ForwardRefExoticComponent<import("./Card.types").CardBaseProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=CardHeader.d.ts.map