Files
twenty/packages/twenty-shared/scripts/remote-dom/generators/utils/add-statement.ts
T
Raphaël Bosi 5c1c998b97 Front component rendering (#17482)
Render front components in a widget.



https://github.com/user-attachments/assets/1ae130a4-070d-498e-88f7-80cee847e2fa

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2026-01-28 16:52:10 +00:00

9 lines
177 B
TypeScript

import { type SourceFile } from 'ts-morph';
export const addStatement = (
sourceFile: SourceFile,
statement: string,
): void => {
sourceFile.addStatements(statement);
};