@plurid/plurid-ui-components-react
Version:
Plurid User Interface Components for React
19 lines (18 loc) • 562 B
TypeScript
import React from 'react';
import { Theme } from '@plurid/plurid-themes';
export interface DashboardRenderProperties {
theme: Theme;
selectedDashboard: string;
setSelectedDashboard: React.Dispatch<string>;
renderView: string;
setRenderView: React.Dispatch<string>;
fullRenderArea: boolean;
setFullRenderArea: React.Dispatch<boolean>;
}
export interface Dashboard {
id: string;
icon?: React.FC<any> | JSX.Element;
label: string;
defaultRender?: string;
renderers: Record<string, React.FC<any> | undefined | any>;
}