将文本字符串放置在组件中,例如:
import React from 'react'; import { View, Text } from 'react-native'; const App = () => { return ( 这是一个文本字符串。 ); }; export default App;
上一篇:必须在<Text>组件中呈现文本字符串错误
下一篇:必须在Access中编写的SQL WHERE子句