@@ -3,7 +3,7 @@ import {BaseCollection, CollectionContext, CollectionProps, CollectionRendererCo
3
3
import { buildHeaderRows } from '@react-stately/table' ;
4
4
import { ButtonContext } from './Button' ;
5
5
import { 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' ;
7
7
import { DisabledBehavior , DraggableCollectionState , DroppableCollectionState , Node , SelectionBehavior , SelectionMode , SortDirection , TableState , useTableState } from 'react-stately' ;
8
8
import { DragAndDropHooks , DropIndicator , DropIndicatorContext , DropIndicatorProps } from './useDragAndDrop' ;
9
9
import { 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 {
368
368
return useContext ( TableOptionsContext ) ! ;
369
369
}
370
370
371
- export interface TableHeaderProps < T > {
371
+ export interface TableHeaderProps < T > extends StyleProps {
372
372
/** A list of table columns. */
373
373
columns ?: T [ ] ,
374
374
/** 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