CardContainerProps interface

Signature

  1. export interface CardContainerProps extends HTMLAttributes<HTMLOrSVGElement>, CardInnerProps

Import

  1. 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

  1. className?: string;

disableEvents property

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

Signature

  1. disableEvents?: boolean;

disableHover property

No style change on hover

Signature

  1. disableHover?: boolean;

isSelected property

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

Signature

  1. isSelected?: boolean;