DocSpace-client/packages/asc-web-common/components/PageLayout/sub-components/room-info-body.js

19 lines
408 B
JavaScript
Raw Normal View History

2022-02-09 09:13:16 +00:00
import { inject, observer } from "mobx-react";
import React from "react";
2022-02-10 13:18:16 +00:00
const SubRoomInfoBody = ({ children }) => {
2022-02-09 18:08:22 +00:00
console.log("Body children - ", children);
2022-02-09 09:13:16 +00:00
return (
<div>
<div>ROOM INFO BODY</div>
2022-02-10 13:18:16 +00:00
<div>Children: </div>
{children}
2022-02-09 09:13:16 +00:00
</div>
);
};
2022-02-09 18:08:22 +00:00
export default inject(({ roomInfoStore }) => {
2022-02-10 13:18:16 +00:00
return {};
2022-02-09 09:13:16 +00:00
})(observer(SubRoomInfoBody));