pub fn EditorToolbar(props: EditorToolbarProps) -> impl IntoViewExpand description
§Required Props
- actions:
Vec<ToolbarActionView>- Toolbar actions.
- export_enabled:
booltrueto enable the Export button.
- share_enabled:
booltrueto enable the Share button.
§Optional Props
- on_action: [
Callback<String>]- Fired with the chip’s
idwhen a (non-disabled) toolbar action is clicked. The app maps the id to an edit op; the component stays presentational (it only emits the id). Omit to leave chips inert. Plainoptional(notinto) soEditorShellcan forward its own already-Optionvalue straight through.
- Fired with the chip’s