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

Function TabPanels

starters/tailwind/src/Tabs.tsx:90–100  ·  view source on GitHub ↗
(props: TabPanelsProps<T>)

Source from the content-addressed store, hash-verified

88}
89
90export function TabPanels<T>(props: TabPanelsProps<T>) {
91 return (
92 <RACTabPanels
93 {...props}
94 className={twMerge(
95 'relative h-(--tab-panel-height) motion-safe:transition-[height] overflow-clip',
96 props.className
97 )}
98 />
99 );
100}
101
102const tabPanelStyles = tv({
103 extend: focusRing,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected