ant-design / ant-design/pro-components

🧐[问题] 为什么ProFormTreeSelect不导出ProFormTreeSelectProps呢?

Open
#8,046 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述
在`packages/form/src/components/TreeSelect/index.tsx` 文件定义了`ProFormTreeSelectProps` ,但是当我想引入该组件类型的时候发现,类型并未导出
![image](https://github.com/ant-design/pro-components/assets/20972473/e0b6f5ca-7c99-4b82-a6eb-28e27d7e3921)
所以我想咨询一下,这个是设计就是如此么?

### 💻 示例代码

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start in packages/form/src/components/TreeSelect/index.tsx, where ProFormTreeSelectProps is defined, and inspect how the component's public types are exposed. Done means consumers can import ProFormTreeSelectProps from the component's public package entry point; verify that the type is available to callers.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.