@openmrs/esm-styleguide
Version:
The styleguide for OpenMRS SPA
13 lines • 503 B
TypeScript
import React from 'react';
import { type IconId } from '../icons';
export interface DashboardExtensionProps {
path: string;
title: string;
basePath?: string;
icon?: IconId;
}
export declare const DashboardExtension: ({ path, title, basePath, icon }: DashboardExtensionProps) => React.JSX.Element;
export declare function createDashboard(props: Omit<DashboardExtensionProps, 'basePath'>): ({ basePath }: {
basePath: string;
}) => React.JSX.Element;
//# sourceMappingURL=index.d.ts.map