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

Function Tabs

starters/hooks/src/Tabs.tsx:56–62  ·  view source on GitHub ↗
(props: TabsProps)

Source from the content-addressed store, hash-verified

54export type TabsProps = AriaTabListOptions<object> & TabListStateOptions<object>;
55
56export function Tabs(props: TabsProps) {
57 return (
58 <CollectionBuilder content={<Collection {...props} />}>
59 {collection => <TabsInner {...props} collection={collection} />}
60 </CollectionBuilder>
61 );
62}
63
64function TabsInner({
65 collection,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected