Add new react component #2271
Closed
infinium360
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I read all your document architecture and the code. and i want to undestand how a new react component is integrated and executed.
As sample i have study sheets-numfmt pluging. In this plugin a react component has been created : SheetNumfmtPanel
and has been registred as component in a controller
private _initPanel() {
this._componentManager.register(SHEET_NUMFMT_PLUGIN, SheetNumfmtPanel);
}
But even if i look at the _componentManager, i dont see how the component is integrated in the react life cycle. how to inform univer where to display to component SheetNumfmtPanel
Can you help me with that.
Sorry for my approximative english
Beta Was this translation helpful? Give feedback.
All reactions