import React from 'react'; import { StyleSheet, View } from 'react-native'; import { Header } from '.'; const styles = StyleSheet.create({ container: { marginVertical: 16 } }); interface IListSection { children: (React.ReactElement | null)[] | React.ReactElement | null; title?: string; translateTitle?: boolean; } const ListSection = ({ children, title, translateTitle }: IListSection) => ( {title ?
: null} {children} ); ListSection.displayName = 'List.Section'; export default ListSection;