Skip to content

Conversation

DDDDD12138
Copy link
Contributor

Types of changes

  • New feature
  • Bug fix
  • Enhancement
  • Component style change
  • Typescript definition change
  • Documentation change
  • Coding style change
  • Refactoring
  • Test cases
  • Continuous integration
  • Breaking change
  • Others

Background and context

fix: #3473

The title property in the TableColumn component should have the same type as the title property in the TableColumnData interface.

Solution

How is the change tested?

Changelog

Component Changelog(CN) Changelog(EN) Related issues
TableColumn 完善 Table-column 组件 title 属性的类型定义以支持渲染函数 Improved type definitions for Table-column's title property to support render functions #3473

Checklist:

  • Test suite passes (npm run test)
  • Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
  • Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others
    should be submitted to main branch)

Other information

Copy link

codesandbox bot commented Mar 17, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TableColumnData 的 title 定义是 string | RenderFunction,但是 TableColumn 组件只接收 string
1 participant