Skip to content
New issue

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

[Divider] 无法从 @kdcloudjs/kdesign 中直接获取到 Divider 的 props 定义 #951

Closed
Archer-SQ opened this issue Nov 21, 2024 · 0 comments
Labels
bug Something isn't working typescript

Comments

@Archer-SQ
Copy link
Contributor

重现链接或代码

import React from 'react'
import ReactDOM from 'react-dom'
import { Divider, IDividerProps } from '@kdcloudjs/kdesign'
const Demo = () => {
  return (
    <div
      style={{
        width: '550px'
      }}>
      <Divider  />
    </div>
  )
}
ReactDOM.render(<Demo />, mountNode)

重现问题步骤

  1. 从@kdcloudjs/kdesign中导入 Divider 的 props 定义

期望的结果是什么

  1. 可以从@kdcloudjs/kdesign中直接获取到 Divider 的props定义

实际的结果是什么

  1. 无法从@kdcloudjs/kdesign中直接获取到 Divider 的props定义,报错Module '"@kdcloudjs/kdesign"' has no exported member 'IDividerProps'

组件库版本号、浏览器信息

组件库与浏览器均为最新版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working typescript
Projects
None yet
Development

No branches or pull requests

2 participants