import * as React from 'react'; import { ExampleCard, IComponentDemoPageProps, ComponentPage } from '@fluentui/react-docsite-components'; import { FileTypeIconBasicExample } from './FileTypeIcon.Basic.Example'; const FileTypeIconBasicExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react-experiments/FileTypeIcon/FileTypeIcon.Basic.Example.tsx') as string; export class FileTypeIconPage extends React.Component { public render(): JSX.Element { return ( } dos={
  • Use document icons to indicate to users that they are creating a new document of that type.
  • Make sure that a document of the type that the icon represents loads when the user selects the icon.
} donts={
  • Use document icons to represent non-Microsoft Office documents, such as a Word .docx icon to open a .txt file.
} isHeaderVisible={this.props.isHeaderVisible} /> ); } }