This is the default Toolbar component. It will automatically render SchemaSettings, SchemaInitializer and Drag components based on Schema's x-settings and x-initializer.
The specific rendering rules for Toolbar are: when there is x-toolbar, the corresponding component will be rendered; when there is no x-toolbar but there is x-settings or x-initializer, the default SchemaToolbar component will be rendered.
Detailed Explanation
title: Title in the upper left cornerdraggable: Whether it can be dragged, default is trueinitializer: Default value of SchemaInitializer. When there is no x-initializer in schema, this value will be used; when it is false, SchemaInitializer will not be renderedsettings: Default value of SchemaSettings. When there is no x-settings in schema, this value will be used; when it is false, SchemaSettings will not be renderedshowBorder: Whether border changes to orangeshowBackground: Whether background changes to orangeExample
When x-toolbar is not specified, the default SchemaToolbar component will be rendered.
Custom Toolbar component.
Used to render SchemaToolbar.
In the previous example, the component CardItem in 'x-decorator': 'CardItem' called useSchemaToolbarRender() for rendering. Built-in components also include: BlockItem, CardItem, Action, FormItem.
render() supports overriding component properties a second time.