rnc 


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import React, { Component } from 'react';
import { View, Text } from 'react-native';
 
export default class componentName extends Component {
  constructor(props) {
    super(props);
    this.state = {
    };
  }
 
  render() {
    return (
      <View>
        <Text> textInComponent </Text>
      </View>
    );
  }
}
 
cs


imrc


import React, { Component } from 'react';



rnss


1
2
3
const styles = StyleSheet.create({
    
});

cs



cdm

1
2
3
componentDidMount() {
        
}
cs



작업하면서 계속 추가해야겠다.

블로그 이미지

클라인STR

,