Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
new_excelso
Commits
655cbcde
Commit
655cbcde
authored
May 18, 2020
by
Afid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
styling html
parent
d785154c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
NewsDetail.js
view/NewsDetail.js
+3
-3
No files found.
view/NewsDetail.js
View file @
655cbcde
...
@@ -44,7 +44,7 @@ export default class NewsDetail extends React.Component {
...
@@ -44,7 +44,7 @@ export default class NewsDetail extends React.Component {
return
(
return
(
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
header
}
>
<
View
style
=
{
styles
.
header
}
>
<
TouchableOpacity
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigation
.
goBack
()}
>
<
Image
source
=
{
require
(
'../assets/icon/back.png'
)}
style
=
{{
width
:
35
,
height
:
35
}}
/
>
<
Image
source
=
{
require
(
'../assets/icon/back.png'
)}
style
=
{{
width
:
35
,
height
:
35
}}
/
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
Text
style
=
{
styles
.
headerTitle
}
>
NEWS
DETAIL
<
/Text
>
<
Text
style
=
{
styles
.
headerTitle
}
>
NEWS
DETAIL
<
/Text
>
...
@@ -55,8 +55,8 @@ export default class NewsDetail extends React.Component {
...
@@ -55,8 +55,8 @@ export default class NewsDetail extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
content
}
>
<
View
style
=
{
styles
.
content
}
>
<
Text
style
=
{
styles
.
title
}
>
{
this
.
state
.
title
}
<
/Text
>
<
Text
style
=
{
styles
.
title
}
>
{
this
.
state
.
title
}
<
/Text
>
<
View
style
=
{{
backgroundColor
:
'#adadad'
,
height
:
1.5
,
flex
:
1
}}
/
>
<
View
style
=
{{
backgroundColor
:
'#adadad'
,
height
:
1.5
,
flex
:
1
,
marginBottom
:
5
}}
/
>
<
HTML
html
=
{
this
.
state
.
content
}
/
>
<
HTML
html
=
{
this
.
state
.
content
}
tagsStyles
=
{{
p
:
{
fontFamily
:
'Gotham-Light'
,
marginTop
:
8
,
marginBottom
:
8
},
blockquote
:
{
backgroundColor
:
"#f1f1f1"
,
padding
:
12
,
paddingBottom
:
0
,
marginTop
:
6
}
}}
/
>
<
/View
>
<
/View
>
<
/ScrollView
>
<
/ScrollView
>
<
/View
>
<
/View
>
...
...
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