UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

36 lines (35 loc) 1.07 kB
/// <reference types="react" /> import { BaseComponent } from 'office-ui-fabric-react/lib/Utilities'; import { IColumn } from 'office-ui-fabric-react/lib/index'; export interface IItem { [index: string]: string | number; thumbnail: string; key: string; name: string; description: string; color: string; shape: string; location: string; width: number; height: number; } export interface IShimmerApplicationExampleState { items?: IItem[]; columns?: IColumn[]; isDataLoaded?: boolean; isModalSelection?: boolean; isCompactMode?: boolean; } export declare class ShimmerApplicationExample extends BaseComponent<{}, IShimmerApplicationExampleState> { private _lastIntervalId; private _lastIndexWithData; constructor(props: {}); componentWillUnmount(): void; render(): JSX.Element; private _loadData; private _onLoadData; private _onChangeModalSelection; private _onChangeCompactMode; private _onRenderItemColumn; private _randomFileIcon(); }