infinity-forge
Version:
20 lines (19 loc) • 455 B
TypeScript
import { ReactNode } from 'react';
import { IconsNames } from '../../../../ui/index.js';
export interface IDetailCard {
id?: number;
icon: IconsNames;
color: string;
title: string | number;
subTitle: string;
highlight?: boolean;
children?: ReactNode;
iconSize?: 'regular' | 'small';
warning?: {
message: string;
};
action?: {
type?: IconsNames;
onClick?: (param?: any) => void;
};
}