method

RegisteredPluginField.component

Public method RegisteredPluginField.component from @riducms/plugin.

Arguments

ArgumentTypeDescription
internalsBrand<"ComponentInternals">The internals value.
propsneverThe props passed to the component.

Returns

The declared result.

{ $on?(type: string, callback: (e: any) => void): () => void; $set?(props: never): void; }

Full signature

RegisteredPluginField.component( this: void, internals: ComponentInternals, props: never, ): { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: never): void; }

Source packages/plugin/src/field.ts:156