Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
se390-1-fe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Milan John Paul Digiuseppe
se390-1-fe
Commits
5b3095a4
Commit
5b3095a4
authored
May 08, 2020
by
Milan DiGiuseppe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
header UX
parent
c28c67c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/components/SimpleHeader.tsx
src/components/SimpleHeader.tsx
+6
-3
No files found.
src/components/SimpleHeader.tsx
View file @
5b3095a4
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
{
Header
}
from
'
react-native-elements
'
;
import
theme
from
'
../theme
'
;
const
{
colors
}
=
theme
;
const
{
colors
,
spacing
}
=
theme
;
interface
Props
{
title
:
string
;
...
...
@@ -10,14 +10,17 @@ interface Props {
const
SimpleHeader
:
React
.
FC
<
Props
>
=
({
title
})
=>
(
<
Header
leftContainerStyle
=
{
{
display
:
'
none
'
}
}
centerComponent
=
{
{
text
:
title
,
style
:
{
fontSize
:
24
,
fontSize
:
32
,
color
:
colors
.
white
,
}
width
:
'
100%
'
,
},
}
}
containerStyle
=
{
{
paddingHorizontal
:
spacing
.
screenPadding
,
backgroundColor
:
colors
.
green
,
}
}
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment