Sharepoint extension spfx modern header height - custom property per site

Copper Contributor
I have the spfx extension create a header and it is deployed per site. How do I add a property where each site can set a custom height? Should that be set in term store ? How can I create site specific app settings deployed from the store ? Thanks !

Here is a sample but doesn’t seem to be the cleanest way.

https://dannyjessee.com/blog/index.php/2017/06/custom-modern-page-header-and-footer-using-sharepoint...
2 Replies

There might be other (cleaner) ways to consider, but the general approach described in the sample to store these kind of settings in the site's property bag makes sense to me.