8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6656ec5 commit 30bd3e4Copy full SHA for 30bd3e4
src/core/resolvers/tdesign.ts
@@ -46,6 +46,13 @@ export function TDesignResolver(options: TDesignResolverOptions = {}): Component
46
}
47
48
49
+ if (name.startsWith('TTypography') || name.startsWith('Typography')) {
50
+ return {
51
+ name: name.slice(name.startsWith('TTypography') ? 11 : 10),
52
+ from: `tdesign-${library}${importFrom}`,
53
+ }
54
55
+
56
if (name.match(/^T[A-Z]/) || pluginList.includes(name)) {
57
const importName = name.match(/^T[A-Z]/) ? name.slice(1) : name
58
0 commit comments