@serendie/ui
Version:
Adaptive UI component library as part of Serendie Design System by Mitsubishi Electric
14 lines (13 loc) • 392 B
TypeScript
import { ComponentProps } from 'react';
type AreaValueProps = {
label: string;
value: number;
unit: string;
};
type DashboardWidgetProps = {
values?: [AreaValueProps, AreaValueProps] | [AreaValueProps] | undefined;
linkTo?: string;
children?: React.ReactNode;
} & ComponentProps<"div">;
export declare const DashboardWidget: React.FC<DashboardWidgetProps>;
export {};