We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
也不清楚是配置问题还是写法问题, 自动 API 总是出不来
dumi v2.1.22
组件 `import React, { FC } from "react"; import { createFromIconfontCN } from "@ant-design/icons";
export interface IconProps { type?: string, style?: React.CSSProperties, [key: string]: any }
const IconFont = createFromIconfontCN({ scriptUrl: '//at.alicdn.com/t/c/font_3302712_zruvxur74tl.js', });
const MSIcon:FC = (props: IconProps) => { const type = props.type || ""; const style = props.style || {}; return <IconFont type={type} style={style} {...props} />; } export default MSIcon;`
文档 <API></API> 或 <API id="MSIcon"></API> 都出不来
<API></API>
<API id="MSIcon"></API>
The text was updated successfully, but these errors were encountered:
Duplicate of #1476
Sorry, something went wrong.
如果不是 Windows 系统,在上面的 issue 里提供复现信息;如果是 Windows 系统,目前解析器存在系统兼容性问题,需要等后续支持后才能使用
No branches or pull requests
Question
也不清楚是配置问题还是写法问题, 自动 API 总是出不来
dumi v2.1.22
Sample Code
组件
`import React, { FC } from "react";
import { createFromIconfontCN } from "@ant-design/icons";
export interface IconProps {
type?: string,
style?: React.CSSProperties,
[key: string]: any
}
const IconFont = createFromIconfontCN({
scriptUrl: '//at.alicdn.com/t/c/font_3302712_zruvxur74tl.js',
});
const MSIcon:FC = (props: IconProps) => {
const type = props.type || "";
const style = props.style || {};
return <IconFont type={type} style={style} {...props} />;
}
export default MSIcon;`
文档
<API></API>
或
<API id="MSIcon"></API>
都出不来
The text was updated successfully, but these errors were encountered: