import * as React from 'react'; import { Link } from '@fluentui/react/lib/Link'; import { Checkbox } from '@fluentui/react/lib/Checkbox'; import { ExampleCard, IComponentDemoPageProps, ComponentPage, PropertiesTableSet, } from '@fluentui/react-docsite-components'; import { TilesListBasicExample } from './TilesList.Basic.Example'; const TilesListBasicExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react-experiments/TilesList/TilesList.Basic.Example.tsx') as string; import { TilesListDocumentExample } from './TilesList.Document.Example'; const TilesListDocumentExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react-experiments/TilesList/TilesList.Document.Example.tsx') as string; import { TilesListMediaExample } from './TilesList.Media.Example'; const TilesListMediaExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react-experiments/TilesList/TilesList.Media.Example.tsx') as string; export interface ITilesListPageState { size: 'small' | 'large'; } export class TilesListPage extends React.Component { constructor(props: {}) { super(props); this.state = { size: 'large', }; } public render(): JSX.Element { const { size } = this.state; return ( } propertiesTables={ ('!raw-loader?esModule=false!@fluentui/react-experiments/src/components/TilesList/TilesList.types.ts'), ]} /> } overview={

TilesList is a specialization of the{' '} List {' '} component. It is intended to represent items visually using one or more content-focused flowing grids.

TilesList is designed to be used in conjunction with the Tile component.{' '} Tile provides a standardized form for a focusable and selectable content item.

} dos={
  • Use them to represent a large collection of items visually.
} donts={
  • Use them for general layout of components that are not part of the same set.
} isHeaderVisible={this.props.isHeaderVisible} /> ); } private _onIsLargeChanged = (event: React.FormEvent, checked: boolean): void => { this.setState({ size: checked ? 'large' : 'small', }); }; }