Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-090 frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
2021-090
2021-090 frontend
Commits
6b93e2ad
Commit
6b93e2ad
authored
Oct 11, 2021
by
Pramodh Rajapakse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re configured naming conventions
parent
083d422f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
components/button.component.js
components/button.component.js
+4
-4
No files found.
components/button.component.js
View file @
6b93e2ad
...
@@ -4,14 +4,14 @@ import themeColors from '../assets/colors';
...
@@ -4,14 +4,14 @@ import themeColors from '../assets/colors';
export
const
AppButton
=
(
props
)
=>
{
export
const
AppButton
=
(
props
)
=>
{
return
(
return
(
<
TouchableOpacity
onPress
=
{
props
.
onPress
}
style
=
{
styles
.
B
utton
}
>
<
TouchableOpacity
onPress
=
{
props
.
onPress
}
style
=
{
styles
.
b
utton
}
>
<
Text
style
=
{
styles
.
Text
}
>
{
props
.
label
}
<
/Text
>
<
Text
style
=
{
styles
.
label
}
>
{
props
.
label
}
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
)
)
}
}
const
styles
=
StyleSheet
.
create
({
const
styles
=
StyleSheet
.
create
({
B
utton
:{
b
utton
:{
alignItems
:
"
center
"
,
alignItems
:
"
center
"
,
padding
:
10
,
padding
:
10
,
fontSize
:
16
,
fontSize
:
16
,
...
@@ -19,7 +19,7 @@ const styles = StyleSheet.create({
...
@@ -19,7 +19,7 @@ const styles = StyleSheet.create({
borderRadius
:
20
,
borderRadius
:
20
,
margin
:
20
margin
:
20
},
},
Text
:
{
label
:
{
fontFamily
:
'
Poppins-Black
'
,
fontFamily
:
'
Poppins-Black
'
,
fontSize
:
22
,
fontSize
:
22
,
color
:
themeColors
.
WHITE
color
:
themeColors
.
WHITE
...
...
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