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