mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-25 06:16:40 +00:00
15 lines
329 B
TypeScript
15 lines
329 B
TypeScript
interface AccessLayoutProps {
|
|
children: React.ReactNode;
|
|
params: Promise<{
|
|
resourceId: number | string;
|
|
orgId: string;
|
|
}>;
|
|
}
|
|
|
|
export default async function ResourceLayout(props: AccessLayoutProps) {
|
|
const params = await props.params;
|
|
const { children } = props;
|
|
|
|
return <>{children}</>;
|
|
}
|