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

Function Toolbar

packages/dev/s2-docs/src/CodePlatter.tsx:501–512  ·  view source on GitHub ↗
({children, showCoachMark})

Source from the content-addressed store, hash-verified

499});
500
501function Toolbar({children, showCoachMark}) {
502 if (showCoachMark) {
503 children = (
504 <>
505 <div className={indicator} />
506 {children}
507 </>
508 );
509 }
510
511 return <div className={toolbar}>{children}</div>;
512}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected