We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6f61eb commit 0a8dc2cCopy full SHA for 0a8dc2c
src/core/resolvers/arco.ts
@@ -48,7 +48,7 @@ const matchComponents = [
48
componentDir: 'form',
49
},
50
{
51
- pattern: /^(Col|Row)$/,
+ pattern: /^(Col|Row|GridItem)$/,
52
componentDir: 'grid',
53
54
@@ -117,6 +117,8 @@ const matchComponents = [
117
]
118
119
function getComponentStyleDir(importName: string, importStyle: boolean | 'css' | 'less') {
120
+ if (['ConfigProvider', 'Icon'].includes(importName)) return undefined
121
+
122
let componentDir = kebabCase(importName)
123
for (const item of matchComponents) {
124
if (item.pattern.test(importName)) {
0 commit comments