Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

CardContainerProps interface

Signature

typescript
export interface CardContainerProps extends HTMLAttributes<HTMLOrSVGElement>, CardInnerProps 

Import

typescript
import { CardContainerProps } from '@grafana/ui';

Properties

PropertyTypeDescription
classNamestringCustom container styles
disableEventsbooleanDisable pointer events for the Card, e.g. click events
disableHoverbooleanNo style change on hover

className property

Custom container styles

Signature

typescript
className?: string;

disableEvents property

Disable pointer events for the Card, e.g. click events

Signature

typescript
disableEvents?: boolean;

disableHover property

No style change on hover

Signature

typescript
disableHover?: boolean;