Function
MobileTab
(props: Omit<RACTabProps, 'children'> & {children: ReactNode})
Source from the content-addressed store, hash-verified
| 166 | }); |
| 167 | |
| 168 | function MobileTab(props: Omit<RACTabProps, 'children'> & {children: ReactNode}) { |
| 169 | let contentId = useId(); |
| 170 | return ( |
| 171 | <RACTab {...props} className={renderProps => mobileTab(renderProps)}> |
| 172 | <Provider |
| 173 | values={[ |
| 174 | [ |
| 175 | TextContext, |
| 176 | { |
| 177 | id: contentId |
| 178 | } |
| 179 | ] |
| 180 | ]}> |
| 181 | {props.children} |
| 182 | </Provider> |
| 183 | <SelectionIndicator className={mobileSelectionIndicator} /> |
| 184 | </RACTab> |
| 185 | ); |
| 186 | } |
| 187 | |
| 188 | interface MobileTabListProps { |
| 189 | children: ReactNode; |
Callers
nothing calls this directly
Tested by
no test coverage detected