piral-dashboard
Version:
Plugin for creating a centralized dashboard in Piral.
12 lines (11 loc) • 440 B
TypeScript
import * as React from 'react';
import type { RouteComponentProps } from 'react-router-dom';
import { TileRegistration } from './types';
export interface DashboardProps extends RouteComponentProps {
filter?(tile: TileRegistration): boolean;
}
/**
* The dashboard component. Integrate this as a page or in a component
* where dashboard information (tiles) should be shown.
*/
export declare const Dashboard: React.FC<DashboardProps>;