react-native-button

    14熱度

    5回答

    Import_this import {AppRegistry, Text, View, Button, StyleSheet} from 'react-native'; 這是我的陣營按鈕的代碼,但風格不工作野兔...... <Button onPress={this.onPress.bind(this)} title={"Go Back"} style={{colo

    0熱度

    1回答

    對於我的生活,我無法弄清楚爲什麼這一小部分代碼將無法正常工作! 我已經將問題隔離到Button元素(導入語句看起來不錯)。 我看到錯誤「不變的違規:元素類型無效:期望一個字符串(對於內置組件)或一個類/函數(對於複合組件),但得到:undefined。檢查Login的渲染方法。 import React, { ScrollView, Image, StyleSheet, Button } from