@aveonline/ui-react
Version:
Home base for Aveonline design system - ecosystem react
29 lines (28 loc) • 801 B
TypeScript
/// <reference types="react" />
import { IChildren } from '../../../../types';
import { IBadge } from '../../..';
interface IDropdownCardHistory extends IChildren {
isActive?: boolean;
title?: string;
description?: string;
}
interface ICardHistory extends IChildren {
description?: string;
date?: string;
hour?: string;
badge?: Omit<IBadge, 'children'> & {
title?: string;
};
size?: 'sm' | 'md';
customWidth?: string;
state?: 'active' | 'default';
customIconState?: JSX.Element;
variant?: 'default' | 'critical';
dropdown?: IDropdownCardHistory;
hasShadow?: boolean;
isError?: boolean;
numberNotifications?: number;
_t?: (text: string) => string;
useT?: boolean;
}
export type { ICardHistory, IDropdownCardHistory };