Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
16 lines
629 B
Plaintext
16 lines
629 B
Plaintext
import type { ImportMap, PayloadComponent } from 'payload';
|
|
import React from 'react';
|
|
type RenderServerComponentFn = (args: {
|
|
readonly clientProps?: object;
|
|
readonly Component?: PayloadComponent | PayloadComponent[] | React.ComponentType | React.ComponentType[];
|
|
readonly Fallback?: React.ComponentType;
|
|
readonly importMap: ImportMap;
|
|
readonly key?: string;
|
|
readonly serverProps?: object;
|
|
}) => React.ReactNode;
|
|
/**
|
|
* Can be used to render both MappedComponents and React Components.
|
|
*/
|
|
export declare const RenderServerComponent: RenderServerComponentFn;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |