CardActionsProps, CardTextProps 等等的d.ts都沒有children: ReactNode
- Dominant language
- TypeScript
- Stars
- 4.4k
- Forks
- 425
- PR merge metrics
- No merged PRs in 30d
Description
**Version information (版本信息)**
- ChatUI or ChatUI Pro? ChatUI
- ChatUI Version: 3.0.0
- React Version: 19.0.0
- OS Version: Windows 10
- Browser Version: Brave v1.77.101
**Describe the bug (描述问题)**
TypeScript版本的CardActions.d.ts, CardText.d.ts 沒有children: ReactNode 導致不能加children
**Steps To Reproduce (重现步骤)**
1. {"Hello World"} 會有Error
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the TypeScript declarations named in the report, including CardActions.d.ts and CardText.d.ts, and reproduce the error using the shown CardText example. Check the related CardActionsProps and CardTextProps definitions for the missing children typing. Done means valid React children are accepted without the reported TypeScript error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100