FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NativeBase/src/basic/Base/NativeBaseComponent.js at master · liasoft/NativeBase · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on May 15, 2024. It is now read-only.
liasoft
/
NativeBase
Public archive
forked from
GeekyAnts/NativeBase
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
NativeBase
/
src
/
basic
/
Base
/
NativeBaseComponent.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (24 loc) · 645 Bytes
Breadcrumbs
NativeBase
/
src
/
basic
/
Base
/
NativeBaseComponent.js
Copy path
File metadata and controls
29 lines (24 loc) · 645 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import
{
Component
}
from
'react'
;
import
PropTypes
from
'prop-types'
;
export
default
class
NativeBaseComponent
extends
Component
{
static
propTypes
=
{
// eslint-disable-next-line react/forbid-prop-types
theme
:
PropTypes
.
object
}
;
static
contextTypes
=
{
theme
:
PropTypes
.
object
,
foregroundColor
:
PropTypes
.
string
}
;
static
childContextTypes
=
{
theme
:
PropTypes
.
object
,
foregroundColor
:
PropTypes
.
string
}
;
getChildContext
(
)
{
return
{
theme
:
this
.
props
.
theme
?
this
.
props
.
theme
:
this
.
context
.
theme
}
;
}
getContextForegroundColor
(
)
{
return
this
.
context
.
foregroundColor
;
}
}
Back
|
FazBrowse Home
|
New Git URL