这是我的代码:
import React, { component } from 'react';
import { View, Text, StyleSheet} from 'react-native';
class GuideLine extends component {
constructor(props){
super(props);
this.state = {};
};
render() {
return(
<View>
<Text>Hello</Text>
</View>
);
};
};
const styles = StyleSheet.create({});
export default GuideLine;
,并且出现此错误:超级表达式必须为null或函数。我该怎么解决?