Checkpoint refactoring script out of just associated-record, for more general purpose

This commit is contained in:
2023-03-06 09:43:47 -06:00
parent 7e2bcea5de
commit 516f874a56
5 changed files with 156 additions and 346 deletions

View File

@ -73,7 +73,7 @@ function ScriptDocsForm({helpText, exampleCode, aceEditorHeight}: Props): JSX.El
return (
<Grid container spacing={2} height="100%">
{oneBlock("helpText", "text", "Documentation", helpText)}
{oneBlock("exampleCode", "javascript", "ExampleCode", exampleCode)}
{oneBlock("exampleCode", "javascript", "Example Code", exampleCode)}
</Grid>
);
}