dograh/ui/src/app/looptalk/LoopTalkLayout.tsx

22 lines
565 B
TypeScript
Raw Normal View History

2025-09-09 14:37:32 +05:30
import React, { ReactNode } from 'react'
import AppLayout from '@/components/layout/AppLayout'
2025-09-09 14:37:32 +05:30
interface LoopTalkLayoutProps {
children: ReactNode,
headerActions?: ReactNode,
backButton?: ReactNode,
}
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 (
<AppLayout headerActions={headerActions}>
2025-09-09 14:37:32 +05:30
{children}
</AppLayout>
2025-09-09 14:37:32 +05:30
)
}
export default LoopTalkLayout