@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
27 lines • 908 B
TypeScript
/**
* @license
*
* Copyright IBM Corp. 2025, 2025
*
* 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 { LitElement } from 'lit';
/**
* Page header Hero Image.
* @element c4p-page-header-hero-image
*/
declare class CDSPageHeaderHeroImage extends LitElement {
/**
* Specify how the image should fit within the container.
* - 'cover': Image fills container, may crop edges (default for hero images)
* - 'contain': Image fits within container, may show empty space
* - 'fill': Image stretches to fill container
* - 'none': Image uses its natural size
*/
objectFit: 'cover' | 'contain' | 'fill' | 'none';
render(): import("lit-html").TemplateResult<1>;
static styles: any;
}
export default CDSPageHeaderHeroImage;
//# sourceMappingURL=page-header-hero-image.d.ts.map