We recommend that you use the versions of the Office UI Fabric React package included in the project in the SharePoint Framework's Yeoman generator. For instance, the SharePoint Framework v1.7.0 release uses Fabric React v5.131.0
Note: Fabric React versions 2.x or older are not supported in SharePoint Framework.
Source: Office UI Fabric React.
Also, SPFx 1.8 supports Office fabric React 6.156.0.
Source: SPFx 1.8 now supports Office Fabric React 6.156.0.
There are some changes in usage of the Office UI Fabric icons in SPFx components as mentioned, here.
Also, you can check below Release notes of SPFx and Fabric React and check their typescript compatibility if that helps you.
- SharePoint Framework Releases.
- Fabric React Demos.