forked from vergnet/application-amicale
Improved RU menu section headers
This commit is contained in:
parent
198fca639e
commit
97a56a5245
1 changed files with 21 additions and 1 deletions
|
@ -95,7 +95,27 @@ export default class SelfMenuScreen extends React.Component<Props> {
|
|||
|
||||
getRenderSectionHeader({section}: Object) {
|
||||
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>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue