-
0 votesanswersviews
当使用Grommet Anchor作为来自react-router-dom的链接时,摆脱浏览器警告
Grommet Anchor'tag'属性类型需要'string',因此使用来自react-router-dom的链接会创建一个控制台警告 . 除了警告,一切正常 . 警告:失败的道具类型:提供给Anchor的类型函数的无效道具标签,预期字符串 . 码: import {Link} from 'react-router-dom'; ... <Anchor key={route.key} ... -
0 votesanswersviews
sass-loader不使用webpack反应索环
我'm trying to get started with webpack and Grommet working together. I' m遵循本教程:https://github.com/grommet/grommet-standalone但是我收到以下错误: ERROR in ./src/app/index.js Module not found: Error: Can't resolv... -
0 votesanswersviews
Grommet Split children问题(“警告:失败的道具类型:提供给`Split`的`object`类型的无效道具`children`,期望一个数组 . ”)
警告:失败的道具类型:提供给 Split 的 object 类型的道具 children 无效,需要一个阵列 . 我在我的控制台中收到此警告,以获取以下代码, <Split> <Box colorIndex='neutral-1' justify='center' align='center' pad='medium'> Left Sid...