DTStack / DTStack/dt-react-component

[Bug]: EllipsisText 存在很多纯函数写在了组件中,是否可以抽离出去

Open
#512 1 comment 0 reactions 1 assignee Claimed by @jin-sir View on GitHub
Dominant language
TypeScript
Stars
106
Forks
42
Avg merge
2d 6h
Merged PRs (30d)
1

Description

### 组件

EllipsisText

### 版本

5.x

### 期望的结果

将纯函数抽出组件
![image](https://github.com/user-attachments/assets/2d9b460b-262e-4f1e-b732-d1915d3064e5)

可以参考[antd](https://4x.ant.design/components/typography-cn/#components-typography-demo-ellipsis)/[semi](https://semi.design/zh-CN/basic/typography)/[arco](https://arco.design/react/components/typography#%E6%96%87%E6%9C%AC%E7%9C%81%E7%95%A5%EF%BC%88%E6%8E%A8%E8%8D%90%EF%BC%89) 的实现

是否内置使用 antd 的省略组件?

### 实际的结果

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.