View as Markdown

API reference: @salmonui/navigation/toolbar

ToolbarItemfunction

import { ToolbarItem } from '@salmonui/navigation/toolbar';
function ToolbarItem(props: ToolbarItemProps): ReactElement;

A measured toolbar slot around any content (.salmon-toolbar-item). Direct children of Toolbar and ToolbarGroup that are not toolbar parts are wrapped in one automatically.