我想问一下,有什么方法可以在react Native中使用React组件(@material-ui/core)吗?当我在React Native项目中使用@material-ui/core组件时,App keep崩溃了,因为它找不到像div、p和span这样的元素。谢谢import {AppRegistry} from 'react-native';
import Demo from
我一直在使用物质UI组件来创建我自己的自定义可重用组件包。下面是一个位于包中的自定义组件的示例,只是为了演示目的:import {makeStyles, ThemeProvider} from '@material-ui/core/styles';
import Button from '@material-ui/core/Button