Skip to content

Commit 67988de

Browse files
mcraihaVesaJuvonen
authored andcommitted
Use tsx instead of typescriptx as formatting option (SharePoint#1724)
It seems typescriptx isn't supported in many markdown formatters
1 parent 4cc2f0a commit 67988de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/spfx/web-parts/guidance/build-custom-property-pane-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ When creating a custom property pane control that uses React in the SharePoint F
254254

255255
4. Define the asynchronous dropdown React component. In the **src/controls/PropertyPaneAsyncDropdown/components** folder, create a new file named **AsyncDropdown.tsx**, and enter the following code:
256256

257-
```typescriptx
257+
```tsx
258258
import * as React from 'react';
259259
import { Dropdown, IDropdownOption } from 'office-ui-fabric-react/lib/components/Dropdown';
260260
import { Spinner } from 'office-ui-fabric-react/lib/components/Spinner';

docs/spfx/web-parts/guidance/tutorial-share-data-between-web-parts-global-variable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ The Recent Document web part displays information about the most recently modifi
502502

503503
2. In the code editor, open the **./src/webparts/recentDocument/components/RecentDocument.tsx** file, and paste the following code:
504504

505-
```typescriptx
505+
```tsx
506506
import * as React from 'react';
507507
import {
508508
DocumentCard,

0 commit comments

Comments
 (0)