import { FC, ReactNode } from "react";

export interface RouteType {
  key: string;
  label: string;
  component: FC;
  /**
   * 是否在侧边栏隐藏
   */
  hide?: boolean;
  icon?: ReactNode;
  child?: RouteType[];
  parent?: {
    key: string;
    label: string;
  };
}
