MCPcopy
hub / github.com/freshframework/fresh / layout

Method layout

packages/fresh/src/define.ts:154–154  ·  view source on GitHub ↗

* Define a layout component. This function returns the passed input as-is. * * You can use this function to help the TypeScript compiler infer the types * of `props` that your component receives. For example: * * ```ts * import { define } from "../utils.ts"; * * export defaul

(render: AnyComponent<PageProps<unknown, State>>)

Source from the content-addressed store, hash-verified

152 * ```
153 */
154 layout(render: AnyComponent<PageProps<unknown, State>>): typeof render;
155}
156
157/**

Callers 2

app_test.tsxFile · 0.65
builder_test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected