(name: string)
| 860 | const routeNames = (cg: CodeGraph): string[] => cg.getNodesByKind('route').map((r) => r.name).sort(); |
| 861 | |
| 862 | const component = (name: string): string => `export function ${name}() {\n return <div>${name}</div>;\n}\n`; |
| 863 | |
| 864 | /** A screen file whose component is its default export. */ |
| 865 | const screen = (name: string): string => `export default function ${name}() {\n return <div>${name}</div>;\n}\n`; |