Android 反应自然。视图';s的样式不起作用,我如何修复它?

Android 反应自然。视图';s的样式不起作用,我如何修复它?,android,react-native,Android,React Native,我的应用程序视图样式不工作。我正在使用带有两个模拟器的react 0.44.0,但是没有一个能正常工作。有人能帮我吗? 这是我的密码: import React, { Component } from 'react'; import { AppRegistry, View, ReactNative, Text } from 'react-native'; const Estilos = { estiloTexto: { fontSize:

我的应用程序
视图
样式
不工作。我正在使用带有两个模拟器的react 0.44.0,但是没有一个能正常工作。有人能帮我吗? 这是我的密码:

import React, { Component } from 'react';
import {
    AppRegistry,
    View,
    ReactNative,
    Text
} from 'react-native';

const Estilos = {
    estiloTexto: {
        fontSize: 40,
        backgroundColor: '#08509B'
    },
    estiloView: {
        backgroundColor: 'skyblue',
        height: 300
   }
};

//Criar o componente
const App = () => {
    const { estiloTexto, estiloView } = Estilos;
    return (
        <View sytle={{ backgroundColor: 'skyblue', height: 300 }}>
            <Text style={estiloTexto}>Frases do Dia</Text>
        </View>
    );
};

//Renderizar para o dispositivo
AppRegistry.registerComponent('app2', () => App);
import React,{Component}来自'React';
进口{
评估学,
看法
反动的,
正文
}从“反应本机”;
常数Estilos={
estiloTexto:{
尺寸:40,
背景颜色:“#08509B”
},
estiloView:{
背景颜色:“天蓝色”,
身高:300
}
};
//Criar o组件
常量应用=()=>{
const{estiloTexto,estiloView}=Estilos;
返回(
磨损不均匀
);
};
//处置权
AppRegistry.registerComponent('app2',()=>App);
应出现以下内容:
但是我得到的是这样的信息:

您的代码中有一个输入错误

<View sytle={{ backgroundColor: 'skyblue', height: 300 }}>


sytle
更改为
style

OMG。我瞎了。谢谢