ответвлён от vergnet/application-amicale
Improved RU menu section headers
Этот коммит содержится в:
родитель
198fca639e
коммит
97a56a5245
1 изменённых файлов: 21 добавлений и 1 удалений
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Сослаться в новой задаче