mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-04 10:52:17 +02:00
21 lines
498 B
TypeScript
21 lines
498 B
TypeScript
|
|
import React, { ReactNode } from 'react'
|
||
|
|
|
||
|
|
import BaseHeader from '@/components/header/BaseHeader'
|
||
|
|
|
||
|
|
interface LoopTalkLayoutProps {
|
||
|
|
children: ReactNode,
|
||
|
|
headerActions?: ReactNode,
|
||
|
|
backButton?: ReactNode,
|
||
|
|
}
|
||
|
|
|
||
|
|
const LoopTalkLayout: React.FC<LoopTalkLayoutProps> = ({ children, headerActions, backButton }) => {
|
||
|
|
return (
|
||
|
|
<>
|
||
|
|
<BaseHeader headerActions={headerActions} backButton={backButton} />
|
||
|
|
{children}
|
||
|
|
</>
|
||
|
|
)
|
||
|
|
}
|
||
|
|
|
||
|
|
export default LoopTalkLayout
|