Improved RU menu section headers

This commit is contained in:
keplyx 2020-03-08 00:22:46 +01:00
parent 198fca639e
commit 97a56a5245

View file

@ -95,7 +95,27 @@ export default class SelfMenuScreen extends React.Component<Props> {
getRenderSectionHeader({section}: Object) { getRenderSectionHeader({section}: Object) {
return ( return (
<Title>{section.title}</Title> <Card style={{
width: '90%',
marginLeft: 'auto',
marginRight: 'auto',
marginBottom: 10,
marginTop: 20,
elevation: 4,
}}>
<Card.Title
title={section.title}
titleStyle={{
textAlign: 'center'
}}
subtitleStyle={{
textAlign: 'center'
}}
style={{
paddingLeft: 0,
}}
/>
</Card>
); );
} }