mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
17 lines
282 B
TypeScript
17 lines
282 B
TypeScript
import type { PropsWithChildren } from 'react';
|
|
|
|
|
|
export default async function Page(
|
|
props: PropsWithChildren<{
|
|
params: {
|
|
projectId: string;
|
|
collectionId: string;
|
|
};
|
|
}>
|
|
) {
|
|
callback(() => {
|
|
foo({
|
|
projectId: props.params.projectId,
|
|
});
|
|
})
|
|
} |