I want the TypeScript code for a very simple SPFx extension. The code needs to:
1. Check the 'Site Name' Visitors, Members and Owners groups to see if it contains 'Everyone'.
2. If it does, add a warning message to the header and footer: "Warning, this site's content is available to everyone."
I want to be able to copy-paste this code into my own solution.
Hey,
I won't lie to you - I don't have huge experience with SPFx, however definitely enough to accomplish this goal.
I've developed couple extensions with my team member for our internal tool at company I currently work for.
Best,
Piotr.