(layoutInfo: LayoutInfo, parent: LayoutInfo | null)
| 852 | } |
| 853 | |
| 854 | function useStyle(layoutInfo: LayoutInfo, parent: LayoutInfo | null) { |
| 855 | let {direction} = useLocale(); |
| 856 | let style = layoutInfoToStyle(layoutInfo, direction, parent); |
| 857 | if (style.overflow === 'hidden') { |
| 858 | style.overflow = 'visible'; // needed to support position: sticky |
| 859 | } |
| 860 | return style; |
| 861 | } |
| 862 | |
| 863 | function TableHeader({ |
| 864 | children, |
no test coverage detected