When installing a reference to Office UI Fabric React brand certain to run
npm i office-ui-fabric-react@lts --save
and not
npm i office-ui-fabric-react@latest --save
Lts is the latest stable version, which currently is v5.122.1 too inward this representative compatible amongst React xv which is what SPFx uses. The latest version is 6.57.0 which bespeak React 16, too won’t laid upwards amongst SPFx.
Stable photograph yesteryear Ryan Yeaman at Unsplash
Thanks for reading : Gotcha When Adding Share Ui Textile React To Spfx