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
isSelectedbooleanMakes the card selectable, set to “true” to apply selected styles

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;

isSelected property

Makes the card selectable, set to “true” to apply selected styles

Signature

typescript
isSelected?: boolean;