MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / TabList

Function TabList

flow-debugger/debugger-ui/src/component/tab/Tab.js:16–26  ·  view source on GitHub ↗
({ focus, tabs, children = null })

Source from the content-addressed store, hash-verified

14};
15
16export const TabList = ({ focus, tabs, children = null }) => {
17 let tabsLabel = tabs.map((tab, i) => (
18 <Tab {...tab} key={i} focus={i === focus} />
19 ));
20 return (
21 <div className={styles.tabs}>
22 {tabsLabel}
23 {children}
24 </div>
25 );
26};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected