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
import React from 'react' import ReactDOM from 'react-dom' import { QRCode } from '@kdcloudjs/kdesign' import type { IQRCodeProps } from '@kdcloudjs/kdesign' function Demo() { const style: IQRCodeProps['style'] = { marginRight: 50 } const value: IQRCodeProps['value'] = 'https://www.kingdee.design/' const handleRefresh: IQRCodeProps['onRefresh'] = () => { console.log('qrcode refresh') } return ( <div style={{ display: 'flex' }}> <QRCode value={value} style={style} /> <QRCode value={value} status="loading" style={style} /> <QRCode value={value} status="expired" style={style} onRefresh={handleRefresh} /> </div> ) } ReactDOM.render(<Demo />, mountNode)
1.可访问组件的Props类型 2.组件demo中有完整的typescript定义
1.无法访问组件的Props类型 2.组件demo中没有完整的typescript定义
组件库与浏览器均为最新版本
The text was updated successfully, but these errors were encountered:
fix: [QRCode] 修复@kdcloudjs/kdesign中未导出IQCodeProps选项 #959
f715501
hidden7123
No branches or pull requests
重现链接或代码
重现问题步骤
期望的结果是什么
1.可访问组件的Props类型
2.组件demo中有完整的typescript定义
实际的结果是什么
1.无法访问组件的Props类型
2.组件demo中没有完整的typescript定义
组件库版本号、浏览器信息
组件库与浏览器均为最新版本
The text was updated successfully, but these errors were encountered: