Skip to main content

Module editor

Module editor 

Source
Expand description

Multi-line text editor component.

Provides a styled textarea for entering English sentences. Supports controlled input with external value management.

§Components

  • Editor - Controlled textarea with value prop
  • LiveEditor - Uncontrolled textarea with real-time updates

§Props

  • value - Current editor content
  • on_change - Callback with new content on each keystroke
  • placeholder - Optional placeholder text

Re-exports§

pub use Editor_completions::Component::Editor;
pub use LiveEditor_completions::Component::LiveEditor;

Structs§

EditorProps
Properties for the Editor component.
LiveEditorProps
Properties for the LiveEditor component.

Functions§

Editor
Props
LiveEditor
Props