Skip to content

Commit ea67398

Browse files
committed
Adding fabric guidance doc to TOC
1 parent e5a967b commit ea67398

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/spfx/web-parts/guidance/office-ui-fabric-integration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Using Office UI Fabric Core and Fabric React in SPFx web parts
1+
# Using Office UI Fabric Core and Fabric React in SPFx client-side web parts
22

33
Office UI Fabric is the official front-end framework for building experiences in Office 365 and SharePoint. SharePoint provides a seamless integration with Fabric that enables Microsoft to deliver robust and consistent design language across various SharePoint experiences such as modern team sites, modern pages and modern lists. Additionally, we want Office UI Fabric to be available for developers in SharePoint Framework to build custom SharePoint solutions.
44

@@ -36,7 +36,7 @@ Here's a summary of currently supported options to use Office UI Fabric with Sha
3636
3737
> Challenge with Global CSS styles in well explained in the following presentation in the context of React and JSS - [React CSS in JS](https://speakerdeck.com/vjeux/react-css-in-js).
3838
39-
## How to use Office UI Fabric React in safe ways in your web part
39+
## How to use Office UI Fabric React in safe way in your web part
4040

4141
Here are recommendations to use Fabric in React based web parts in safe and reliable way.
4242

@@ -49,7 +49,8 @@ Following code snippet shows how to perform static and dynamic linking of librar
4949

5050
```Javascript
5151
// This sample demonstrates how static linking should be done for Fabric React components.
52-
// Remember to explicitly add a dependency on a specific version of office-ui-fabric-react in your package.json file.
52+
// Remember to explicitly add a dependency on a specific version of
53+
// office-ui-fabric-react in your package.json file.
5354

5455
// correct - static linking.
5556
import { Button } from 'office-ui-fabric-react/lib/Button';

misc/SharePointDocumentationToc.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<Item text="Migrating Angular applications" url="spfx/web-parts/guidance/migrate-angular-1-x-applications-to-sharepoint-framework" SEODescription="Migrating existing Angular v1.x applications to SharePoint Framework client-side web parts." />
5151
<Item text="Localization" url="spfx/web-parts/guidance/localize-web-parts" SEODescription="Localize SharePoint Framework client-side web parts." />
5252
<Item text="Call the Microsoft Graph API" url="spfx/web-parts/guidance/call-microsoft-graph-from-your-web-part" SEODescription="Call the Microsoft Graph API from your SharePoint Framework client-side web part using OAuth." />
53+
<Item text="Using Office UI Fabric" url="spfx/web-parts/guidance/office-ui-fabric-integration" SEODescription="Using Office UI Fabric Core and Fabric React in SharePoint Framework client-side web parts." />
5354
</Item>
5455
</Item>
5556
</Item>

0 commit comments

Comments
 (0)