@ansible/ansible-ui-framework
Version:
A framework for building applications using PatternFly.
30 lines (29 loc) • 931 B
TypeScript
import { CSSProperties, ReactNode } from 'react';
export type PageDashboardCardWidth = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
export type PageDashboardCardHeight = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
export declare function PageDashboardCard(props: {
id?: string;
supertitle?: string;
title?: string;
subtitle?: string;
description?: string;
linkText?: string;
to?: string;
children?: ReactNode;
footerActionButton?: {
icon?: ReactNode;
title: string;
onClick: () => void;
};
width?: PageDashboardCardWidth;
height?: PageDashboardCardHeight;
maxHeight?: PageDashboardCardHeight;
style?: CSSProperties;
help?: string;
helpTitle?: string;
helpDocLink?: string;
headerControls?: ReactNode;
isCompact?: boolean;
canCollapse?: boolean;
disableBodyPadding?: boolean;
}): import("react/jsx-runtime").JSX.Element;