@spaced-out/ui-design-system
Version:
Sense UI components library
29 lines • 937 B
TypeScript
import * as React from 'react';
import type { IconType } from '../../components/Icon';
export declare const TEMPLATE_CARD_HEADER_COLOR: Readonly<{
information: "information";
success: "success";
warning: "warning";
error: "error";
neutral: "neutral";
pending: "pending";
}>;
export type HeaderColorType = (typeof TEMPLATE_CARD_HEADER_COLOR)[keyof typeof TEMPLATE_CARD_HEADER_COLOR];
type ClassNames = Readonly<{
wrapper?: string;
header?: string;
content?: string;
footer?: string;
}>;
export interface TemplateCardProps {
headerColor?: HeaderColorType;
iconName: string;
iconType?: IconType;
footer?: React.ReactNode;
children?: React.ReactNode;
classNames?: ClassNames;
testId?: string;
}
export declare const TemplateCard: React.ForwardRefExoticComponent<TemplateCardProps & React.RefAttributes<HTMLDivElement>>;
export {};
//# sourceMappingURL=TemplateCard.d.ts.map