1

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.

2
1

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

enter image description here

1
  • this is helpful. Thanks – Sunny Sinha Nov 5 '20 at 5:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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