0
8
KKKhalid Khan
The code above creates a new file named filename.ext and renders it as a View.
Library: react-native
Shortcut: reactnative.newcomp
import { Text, View } from 'react-native'
import React, { Component } from 'react'
export default class filename.ext extends Component {
render() {
return (
<View>
<Text>filename.ext</Text>
</View>
)
}
}