import { createElement } from "react"; /** * External dependencies */ import { Text, View } from 'react-native'; /** * Internal dependencies */ import styles from './body.scss'; import BottomSeparatorCover from './bottom-separator-cover'; export function PanelBody({ children, title, style, titleStyle = {} }) { return createElement(View, { style: [styles.panelContainer, style] }, title && createElement(Text, { accessibilityRole: "header", style: [styles.sectionHeaderText, titleStyle] }, title), children, createElement(BottomSeparatorCover, null)); } export default PanelBody; //# sourceMappingURL=body.native.js.map