///
/**
* Integration test example for ct-code-editor with Cell binding.
* Used to test cursor stability when typing with Cell sync.
*/
import { Default, NAME, pattern, UI } from "commontools";
interface Input {
content: Default;
}
export default pattern(({ content }) => {
return {
[NAME]: "Code Editor Test",
[UI]: (
Code Editor Cursor Test
Content: {content}
),
content,
};
});