From 1b22e7d72eae3b911e11a97dbe88fb7bba9a44ea Mon Sep 17 00:00:00 2001 From: Gregory Douglas Date: Fri, 10 Jan 2025 13:31:06 -0500 Subject: [PATCH] Prefer direct children type declaration in HeaderProps --- packages/table/src/headers/header.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/table/src/headers/header.tsx b/packages/table/src/headers/header.tsx index b65d5c4b1f..2ccf44c15a 100644 --- a/packages/table/src/headers/header.tsx +++ b/packages/table/src/headers/header.tsx @@ -95,6 +95,11 @@ export interface HeaderProps extends LockableLayout, ReorderableProps, Selectabl * or cancellation of a resize interaction. */ onResizeGuide: (guides: number[] | null) => void; + + /** + * The content to be rendered inside the header. + */ + children?: React.ReactNode; } /**