UNPKG
swgs
Version:
latest (3.3.0)
3.3.0
swgs is a compatiblity layer between svg and react-native-svg
msand/swgs
swgs
/
crna-example
/
components
/
StyledText.js
9 lines
(7 loc)
•
226 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
React
from
'react'
;
import
{
Text
}
from
'react-native'
;
export
class
MonoText
extends
React.Component
{
render
(
) {
return
<
Text
{
...this.props
}
style
=
{[this.props.style,
{
fontFamily:
'
space-mono
' }]} />
; } }