2022-08-30 11:16:00 -07:00
|
|
|
import React from 'react';
|
|
|
|
|
2023-01-10 15:03:15 -08:00
|
|
|
interface IChatsPage {
|
|
|
|
children: React.ReactNode
|
|
|
|
}
|
|
|
|
|
2022-08-30 11:16:00 -07:00
|
|
|
/** Custom layout for chats on desktop. */
|
2023-01-10 15:03:15 -08:00
|
|
|
const ChatsPage: React.FC<IChatsPage> = ({ children }) => {
|
2022-08-30 11:16:00 -07:00
|
|
|
return (
|
2022-09-22 15:38:00 -07:00
|
|
|
<div className='md:col-span-12 lg:col-span-9'>
|
2022-08-30 11:16:00 -07:00
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ChatsPage;
|