We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd2707 commit 883eed8Copy full SHA for 883eed8
chartlets.js/src/lib/component/Registry.ts
@@ -53,4 +53,16 @@ export class RegistryImpl implements Registry {
53
}
54
55
56
+/**
57
+ * The Chartly component registry.
58
+ *
59
+ * Use `registry.register(C)` to register your own component `C`.
60
61
+ * `C` must be a functional React component with at least the following
62
+ * two properties:
63
64
+ * - `type: string`: your component's type name.
65
+ * - `onChange: ComponentChangeHandler`: an event handler
66
+ * that your component may call to signal change events.
67
+ */
68
export const registry = new RegistryImpl();
0 commit comments