@playcanvas/react
Version:
A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.
16 lines (15 loc) • 540 B
TypeScript
/**
* Component schema registry for serialization
* Provides access to component schemas to know which properties to serialize
*/
/**
* Registry mapping component type names to their schema definitions
*/
export declare const componentSchemaRegistry: Record<string, {
schema?: Record<string, unknown>;
}>;
/**
* Get the list of serializable property names for a component type
* Uses the actual component schema as source of truth
*/
export declare function getSerializablePropertyNames(componentType: string): string[] | null;