@kelvininc/ui-components
Version:
Kelvin UI Components
19 lines (18 loc) • 758 B
TypeScript
import { ESummaryCardType } from './summary-card.types';
export declare class KvSummaryCard {
/** (required) Used to define font styling according to the data type */
type: ESummaryCardType;
/** (optional) Defines loading styling for this card */
loading: boolean;
/** (optional) The label to use at the top of the card */
label: string;
/** Watch for changes on the prop label and apply it to the internal state */
labelChangeHandler(newValue?: string): void;
/** (optional) The subtitle of the card */
subtitle: string;
/** (optional) A brief description of the card's info */
description: string;
/** The internal label state, updated when prop label changes */
_label: string;
render(): any;
}