Skip to content

Commit

Permalink
Prefer direct children type declaration in HeaderProps
Browse files Browse the repository at this point in the history
  • Loading branch information
ggdouglas committed Jan 10, 2025
1 parent 878e63c commit 1b22e7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/table/src/headers/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 1b22e7d

Please sign in to comment.