UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

25 lines (24 loc) 985 B
/** * Copyright IBM Corp. 2021, 2022 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; declare const blockClass: string; export interface ToolbarProps { /** Provide an optional class to be applied to the containing node */ className?: string; /** Determines whether the `Toolbar` is rendered vertically */ vertical?: boolean; } interface ToolbarContextType { vertical?: boolean; } declare const ToolbarContext: React.Context<ToolbarContextType>; /** Toolbars are a collection of action items that organize a program’s interaction patterns into a series of closely related commands. */ declare let Toolbar: React.ForwardRefExoticComponent<ToolbarProps & { children?: React.ReactNode | undefined; } & React.RefAttributes<HTMLDivElement>>; declare const componentName = "Toolbar"; export { blockClass, componentName, Toolbar, ToolbarContext };