# repl **Repository Path**: openInula/repl ## Basic Information - **Project Name**: repl - **Description**: Inula在线编辑器。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-12-13 - **Last Updated**: 2025-06-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # openinula-repl > “读取-求值-输出”循环(英語:Read-Eval-Print Loop,简称REPL),也被称做交互式顶层构件 本组件是提供一个 关于`openinula`的 交互式编程环境组件 ## Installation ```bash npm i openinula-repl ``` ## Usage ``` jsx function App() { return ( ); } ``` ## API |属性|说明|类型|默认值| |---|---|---|---| |name|repl的名称|string|| |split|设置编辑器和查看器的布局|SplitPaneProps|| |className|自定义类名|string|| |code|初始代码|string|| |defaultCode|默认代码|string|| |importMap|import map配置|string|| |placeHolder|编辑器placeholder|string|| |enableStorage|是否启用本地存储|boolean|| |children|子组件|InulaNode|Editor 和 Viewer|