I have a requirement where i need to :

  1. create a button on top header of page using SPFx extension,
  2. after clicking on it should open a Panel,
  3. inside that panel i want to create things we do in SPFx react webpart(creating controls,setting their values create class/functional components) to perform further actions.

Can we do that (calling a class component where states are used in extensions) ?

Please help with some related articles.


1 Answer 1


Yes, you can use React in SPFx extension, please take a reference of below sample:

enter image description here

  • this is helpful. Thanks Nov 5, 2020 at 5:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.