Remaped imports to prepare for new content handling
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
export interface AppProperties {
|
||||
name: string;
|
||||
icon: string;
|
||||
pages: Record<string, string>;
|
||||
adminOnly: string[];
|
||||
}
|
||||
|
||||
type AppNavigatorProps = {
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
type NavbarProps = {
|
||||
pages: Record<string, string>;
|
||||
};
|
||||
|
||||
export default function Navbar(props: NavbarProps) {
|
||||
return (
|
||||
<>
|
||||
<p>{JSON.stringify(props.pages)}</p>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user