建议输出一个扩展 JSX 类型的 d.ts 文件
BaffinLee opened this issue · comments
你可以自己添加类型声明临时解决这个问题:
declare global {
namespace JSX {
interface IntrinsicElements {
"mdui-top-app-bar": any;
}
}
}
后续会考虑打包一个 react 组件库。
嗯,我现在自己加了,感谢
Material Design 3(Material You) UI components using Web Components.
BaffinLee opened this issue · comments
你可以自己添加类型声明临时解决这个问题:
declare global {
namespace JSX {
interface IntrinsicElements {
"mdui-top-app-bar": any;
}
}
}
后续会考虑打包一个 react 组件库。
嗯,我现在自己加了,感谢