Does anyone know how can I show the property pane without creating webpart?
I want to show the property pane after clicking the User Management icon, which is created with extension
Does anyone know how can I show the property pane without creating webpart?
I want to show the property pane after clicking the User Management icon, which is created with extension
Taken from this repo which has some of the official samples from the SPFx extensions model and depicts a pretty close use-case to the one that you are searching, there is an element in Fluent UI called Panel.
As it is written in the documentation:
Furthermore, scouring the repo we can see that the panel is triggered:
There is an
<ActionButton>
with an OnClick Eventhandler to execute the below function :The above function sets the
showPanel
prop totrue
and this prop is used in the Panel Component, where it checks when set to true to open the Panel and move on with the Business Logic of the application extension.The same can be seen in the Fluent UI Documentation here, in the basic example.