Components
    • Animation
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Grid
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Notification
    • PDF Processing
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • Sortable
    • Tooltip
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

Toolbar

A subclass of React.Component.

Represents the KendoReact Toolbar component.

class App extends React.Component {
   render() {
      return (
         <Toolbar>
             <ToolbarItem>
                 <ButtonGroup>
                     <Button togglable={true} icon="bold" />
                     <Button togglable={true} icon="italic" />
                     <Button togglable={true} icon="underline" />
                 </ButtonGroup>
             </ToolbarItem>
             <ToolbarItem>
                 <ButtonGroup>
                     <Button icon="hyperlink">Insert Link</Button>
                     <Button icon="image">Insert Image</Button>
                     <Button icon="table">Insert Table</Button>
                 </ButtonGroup>
             </ToolbarItem>
         </Toolbar>
      );
   }
}
ReactDOM.render(<App />, document.querySelector('my-app'));

props

Readonly<ToolbarProps> intersected with Readonly<{ children?: ReactNode; }>

The props of the Toolbar component.

element

HTMLDivElement | null

Returns the HTML element of the Toolbar component.

In this article

Not finding the help you need?