Skip to main content

WorkbenchFrame

The fixed workbench frame: product, tabs, the open request, and sign-out.

ICU nurses in Texas

The open search sits here.

Example
<WorkbenchFrame
tab={tab}
onTab={setTab}
title="ICU nurses in Texas"
account="ada@example.com"
onSignOut={signOut}
onNewSearch={start}
>
{children}
</WorkbenchFrame>

Props​

PropType
tab'search' | 'history'
onTab(tab) => void
leadingReactNodeSits after the mark. The product name goes here.
titlestringThe open request.
titleHintstring
showCopyboolean
copiedboolean
onCopy() => void
copyIconReactNode
copiedIconReactNode
envstring
accountstring
onSignOut() => voidOpens the sign-out dialog, then calls this.
signOutIconReactNode
onNewSearch() => void
newSearchIconReactNode
childrenReactNode

Render it inside SourcingTheme so the Nova tokens apply.