({state, ...props})
| 73 | } |
| 74 | |
| 75 | function TabPanel({state, ...props}) { |
| 76 | let ref = React.useRef(null); |
| 77 | let {tabPanelProps} = useTabPanel(props, state, ref); |
| 78 | return ( |
| 79 | <div {...tabPanelProps} ref={ref} style={{padding: '10px'}}> |
| 80 | {state.selectedItem?.props.children} |
| 81 | </div> |
| 82 | ); |
| 83 | } |
nothing calls this directly
no test coverage detected