UNPKG
az-mobile-reuseable-components
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.3
1.0.2
1.0.1
1.0.0
All reusable components
az-mobile-reuseable-components
/
components
/
TextComponent.js
9 lines
(6 loc)
•
196 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Text
}
from
'react-native'
;
import
React
from
'react'
;
const
TextComponent
= (
{ text, textStyle }
) => {
return
<
Text
style
=
{textStyle}
>
{text}
</
Text
>
; };
export
default
TextComponent
;