({
isDisabled,
orientation,
children
}: {
isDisabled: boolean;
orientation: Orientation;
children: ReactNode;
})
| 533 | } |
| 534 | |
| 535 | function TabInner({ |
| 536 | isDisabled, |
| 537 | orientation, |
| 538 | children |
| 539 | }: { |
| 540 | isDisabled: boolean; |
| 541 | orientation: Orientation; |
| 542 | children: ReactNode; |
| 543 | }) { |
| 544 | let ref = useRef<HTMLDivElement | null>(null); |
| 545 | let isHidden = useContext(HiddenTabsContext); |
| 546 | |
| 547 | return ( |
| 548 | <> |
| 549 | {!isHidden && ( |
| 550 | <SelectionIndicator ref={ref} className={selectedIndicator({isDisabled, orientation})} /> |
| 551 | )} |
| 552 | {children} |
| 553 | </> |
| 554 | ); |
| 555 | } |
| 556 | |
| 557 | const tabPanel = style( |
| 558 | { |
nothing calls this directly
no outgoing calls
no test coverage detected