import { DensityProp } from '../../composables/density.js'; import { OnyxColor } from '../../types/index.js'; export type OnyxInfoCardProps = DensityProp & { /** * Card headline. */ headline?: string; /** * Card color. */ color?: OnyxColor; /** * Icon to display. If unset, a default icon will be displayed. * Can be set to `false` to hide the icon. */ icon?: string | false; /** * Whether the info card can be closed. Will show an "x" icon. * If you provide custom `headerActions`, the close button will not be visible. * Please provide a custom menu item inside your header actions then. */ closable?: boolean; };