One frame, no session
For snapshots, generated output, tests and tools that should render ANSI and exit without raw mode or native input.
import { Container, Text, render } from "@slate-terminal/react";
const app = render(Container({
id: "app",
children: Text({ id: "hello", text: "Hello, Slate" })
}));
process.stdout.write(app.renderAnsi());
app.close();