@wener/ui
Version:
15 lines (11 loc) • 303 B
text/typescript
import React, { ComponentClass, FunctionComponent } from 'react';
export interface MenuSpec {
title: string;
iconType?: string;
iconComponent?: React.ReactNode;
path?: string;
route?: string;
routes?: string[];
component?: FunctionComponent | ComponentClass;
children?: MenuSpec[];
}