-2
我在部份新的,我想不出有什麼是錯在這行代碼。 我試圖改變線路和誤差只有改變話題。意外的令牌,預計{(26:2)
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { Textbox } from './src/Textbox';
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<Text>Hello Hector. Open up App.js to start working on your app!</Text>
<Text>Changes you make will automatically reload.</Text>
<Text>Shake your phone to open the developer menu.</Text>
</View>
);
}
};
export class Textbox extends Component ({
render() {
return (
<View style={styles.useless}>
<Textbox />
</View>
);
},
});