Skip to content

Commit 67cc844

Browse files
committed
docs: typo
1 parent b068b07 commit 67cc844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Components({
230230
(componentName) => {
231231
// where `componentName` is always CapitalCase
232232
if (componentName.startsWith('Van'))
233-
return { name: name.slice(3), from: 'vant' }
233+
return { name: componentName.slice(3), from: 'vant' }
234234
},
235235
],
236236
})

0 commit comments

Comments
 (0)