2025-09-09 14:37:32 +05:30
|
|
|
import React, { ReactNode } from 'react'
|
|
|
|
|
|
2025-11-29 15:39:57 +05:30
|
|
|
import AppLayout from '@/components/layout/AppLayout'
|
2025-09-09 14:37:32 +05:30
|
|
|
|
|
|
|
|
interface LoopTalkLayoutProps {
|
|
|
|
|
children: ReactNode,
|
|
|
|
|
headerActions?: ReactNode,
|
|
|
|
|
backButton?: ReactNode,
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-29 15:39:57 +05:30
|
|
|
const LoopTalkLayout: React.FC<LoopTalkLayoutProps> = ({ children, headerActions }) => {
|
|
|
|
|
// backButton is kept in interface for backward compatibility
|
|
|
|
|
// but not used with the new sidebar layout
|
2025-09-09 14:37:32 +05:30
|
|
|
return (
|
2025-11-29 15:39:57 +05:30
|
|
|
<AppLayout headerActions={headerActions}>
|
2025-09-09 14:37:32 +05:30
|
|
|
{children}
|
2025-11-29 15:39:57 +05:30
|
|
|
</AppLayout>
|
2025-09-09 14:37:32 +05:30
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default LoopTalkLayout
|