React Native Component

    0

    8

    Khalid Khan

    React Native companion for Javascript

    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>
        )
      }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.