(props: TabProps)
| 71 | }); |
| 72 | |
| 73 | export function Tab(props: TabProps) { |
| 74 | return ( |
| 75 | <RACTab |
| 76 | {...props} |
| 77 | className={composeRenderProps(props.className, (className, renderProps) => |
| 78 | tabProps({...renderProps, className}) |
| 79 | )}> |
| 80 | {composeRenderProps(props.children, children => ( |
| 81 | <> |
| 82 | {children} |
| 83 | <SelectionIndicator className="absolute top-0 left-0 w-full h-full z-10 bg-white rounded-full mix-blend-difference group-disabled:bg-neutral-400 group-disabled:mix-blend-normal group-disabled:dark:bg-neutral-600 group-disabled:-z-1 motion-safe:transition-[translate,width,height] " /> |
| 84 | </> |
| 85 | ))} |
| 86 | </RACTab> |
| 87 | ); |
| 88 | } |
| 89 | |
| 90 | export function TabPanels<T>(props: TabPanelsProps<T>) { |
| 91 | return ( |
nothing calls this directly
no test coverage detected