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

refactor(KtTable): use composition API for Table*Cell files #971

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

Isokaeder
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added the package:kotti-ui @3yourmind/kotti-ui label Jul 22, 2024
@Isokaeder Isokaeder force-pushed the refactor-kotti-table-components branch 2 times, most recently from 2b98a00 to 7648b13 Compare July 22, 2024 11:46
Copy link
Member

@FlorianWendelborn FlorianWendelborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Isokaeder Isokaeder force-pushed the refactor-kotti-table-components branch from 7648b13 to 7df5485 Compare July 22, 2024 11:58
@Isokaeder Isokaeder merged commit 9fd5c3f into master Jul 22, 2024
9 checks passed
@Isokaeder Isokaeder deleted the refactor-kotti-table-components branch July 22, 2024 12:51
@@ -97,6 +97,14 @@ export module KottiTable {
) => VNode
}

export type PropsInternal = Omit<Props, 'renderCell' | 'renderHeader'> & {
renderCell: (h: CreateElement, data: Context) => VNodeChildren
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Isokaeder Why not VNode here ?

In Yoda, we use some renderCell functions which render VNode type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:kotti-ui @3yourmind/kotti-ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants