commerce/app/[locale]/[[...slug]]/category-page.tsx
2023-05-04 09:20:26 +02:00

16 lines
334 B
TypeScript

interface CategoryPageProps {
data: object | any
}
// This is a Client Component. It receives data as props and
// has access to state and effects just like Page components
// in the `pages` directory.
export default function ProductPage({data }: CategoryPageProps) {
console.log(data);
return (
<>Category page</>
)
}