2022-02-15 11:57:36 +00:00
|
|
|
import Scrollbar from "@appserver/components/scrollbar";
|
2022-02-09 09:13:16 +00:00
|
|
|
import React from "react";
|
|
|
|
|
2022-02-11 14:35:18 +00:00
|
|
|
const SubInfoPanelBody = ({ children }) => {
|
2022-03-21 07:24:43 +00:00
|
|
|
const content = children?.props?.children;
|
2022-02-09 18:08:22 +00:00
|
|
|
|
2022-03-21 07:24:43 +00:00
|
|
|
return (
|
|
|
|
<Scrollbar scrollclass="section-scroll" stype="mediumBlack">
|
|
|
|
{content}
|
|
|
|
</Scrollbar>
|
|
|
|
);
|
2022-02-09 09:13:16 +00:00
|
|
|
};
|
|
|
|
|
2022-02-11 14:35:18 +00:00
|
|
|
SubInfoPanelBody.displayName = "SubInfoPanelBody";
|
2022-02-10 15:52:27 +00:00
|
|
|
|
2022-03-28 09:49:01 +00:00
|
|
|
export default SubInfoPanelBody;
|