MCPcopy Create free account
hub / github.com/adobe/react-spectrum / Tabs

Function Tabs

starters/tailwind/src/Tabs.tsx:31–40  ·  view source on GitHub ↗
(props: TabsProps)

Source from the content-addressed store, hash-verified

29});
30
31export function Tabs(props: TabsProps) {
32 return (
33 <RACTabs
34 {...props}
35 className={composeRenderProps(props.className, (className, renderProps) =>
36 tabsStyles({...renderProps, className})
37 )}
38 />
39 );
40}
41
42const tabListStyles = tv({
43 base: 'flex max-w-full p-1 -m-1 overflow-x-auto overflow-y-clip [scrollbar-width:none]',

Callers

nothing calls this directly

Calls 1

composeRenderPropsFunction · 0.85

Tested by

no test coverage detected