next.js / packages /next-codemod /transforms /__testfixtures__ /next-async-request-api-dynamic-props /access-props-23.input.tsx
| export default function Page({ | |
| params: { slug }, | |
| searchParams: { search }, | |
| }: { | |
| params: { slug: string } | |
| searchParams: any | |
| }): JSX.Element { | |
| // Access to the destructed properties | |
| slug | |
| search | |
| return <div>Page</div> | |
| } | |