25 lines
517 B
TypeScript
25 lines
517 B
TypeScript
"use client";
|
|
|
|
import HeaderTamplate from "@/app_modules/component/header_tamplate";
|
|
import { AppShell, Stack, Text } from "@mantine/core";
|
|
import React from "react";
|
|
|
|
export default function LayoutEditIntroInvestasi({
|
|
onUpdate,
|
|
children,
|
|
}: {
|
|
onUpdate: () => Promise<string>;
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<>
|
|
<AppShell header={<HeaderTamplate title="Edit Intro" />}>
|
|
<Stack>
|
|
<Text>v1.0.10</Text>
|
|
{children}
|
|
</Stack>
|
|
</AppShell>
|
|
</>
|
|
);
|
|
}
|