Skip to content

Commit 1fe1271

Browse files
add controlled editable component to local api
1 parent 68b7576 commit 1fe1271

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/api/local-api.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import { Coerce } from "./coerce";
3636
import { ScriptCache } from "./script-cache";
3737
import { Expression } from "expression/expression";
3838
import { Card } from "./ui/views/cards";
39+
import { ControlledEditable } from "ui/fields/editable";
3940

4041
/** Local API provided to specific codeblocks when they are executing.
4142
* @group Core
@@ -380,6 +381,7 @@ export class DatacoreLocalApi {
380381
// Interative elements //
381382
/////////////////////////
382383

384+
public ControlledEditable = ControlledEditable;
383385
public Button = Button;
384386
public Textbox = Textbox;
385387
public Callout = Callout;

0 commit comments

Comments
 (0)