@@ -3,7 +3,7 @@ import {BaseCollection, CollectionContext, CollectionProps, CollectionRendererCo
33import { buildHeaderRows } from '@react-stately/table' ;
44import { ButtonContext } from './Button' ;
55import { CheckboxContext } from './Checkbox' ;
6- import { ContextValue , defaultSlot , Provider , RenderProps , SlotProps , StyleRenderProps , useContextProps , useRenderProps } from './utils' ;
6+ import { ContextValue , defaultSlot , Provider , RenderProps , SlotProps , StyleProps , StyleRenderProps , useContextProps , useRenderProps } from './utils' ;
77import { DisabledBehavior , DraggableCollectionState , DroppableCollectionState , Node , SelectionBehavior , SelectionMode , SortDirection , TableState , useTableState } from 'react-stately' ;
88import { DragAndDropHooks , DropIndicator , DropIndicatorContext , DropIndicatorProps } from './useDragAndDrop' ;
99import { DraggableItemResult , DragPreviewRenderer , DropIndicatorAria , DroppableCollectionResult , FocusScope , ListKeyboardDelegate , mergeProps , useFocusRing , useHover , useTable , useTableCell , useTableColumnHeader , useTableHeaderRow , useTableRow , useTableRowGroup , useTableSelectAllCheckbox , useTableSelectionCheckbox , useVisuallyHidden } from 'react-aria' ;
@@ -368,7 +368,7 @@ export function useTableOptions(): TableOptionsContextValue {
368368 return useContext ( TableOptionsContext ) ! ;
369369}
370370
371- export interface TableHeaderProps < T > {
371+ export interface TableHeaderProps < T > extends StyleProps {
372372 /** A list of table columns. */
373373 columns ?: T [ ] ,
374374 /** A list of `Column(s)` or a function. If the latter, a list of columns must be provided using the `columns` prop. */
0 commit comments