19 lines
334 B
TypeScript
19 lines
334 B
TypeScript
export interface AppProperties {
|
|
name: string;
|
|
icon: string;
|
|
pages: Record<string, string>;
|
|
adminOnly: string[];
|
|
}
|
|
|
|
type AppNavigatorProps = {
|
|
apps: Record<string, AppProperties>;
|
|
};
|
|
|
|
export default function AppNavigator(props: AppNavigatorProps) {
|
|
return (
|
|
<>
|
|
<p>{JSON.stringify(props.apps)}</p>
|
|
</>
|
|
);
|
|
}
|