How to use the @uifabric/experiments/lib/Shimmer.ShimmerElementType.circle function in @uifabric/experiments

To help you get started, we’ve selected a few @uifabric/experiments examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github OfficeDev / office-ui-fabric-react / packages / experiments / src / components / Shimmer / examples / Shimmer.CustomElements.Example.tsx View on Github external
private _getCustomElementsExampleTwo = (): JSX.Element => {
    return (
      <div style="{{">
        
        
      </div>
    );
  };
github OfficeDev / office-ui-fabric-react / packages / experiments / src / components / Shimmer / examples / Shimmer.CustomElements.Example.tsx View on Github external
private _getCustomElementsExampleThree = (): JSX.Element =&gt; {
    return (
      <div style="{{">
        
        <div style="{{">
          
          
          </div></div>
github OfficeDev / office-ui-fabric-react / packages / experiments / src / components / Shimmer / examples / Shimmer.Basic.Example.tsx View on Github external
public render(): JSX.Element {
    return (
      <div>
        Basic Shimmer with no elements provided. It defaults to a line of 16px height.
        
        
        
        Basic Shimmer with elements provided.
        
        
        </div>
github OfficeDev / office-ui-fabric-react / packages / experiments / src / components / Shimmer / examples / Shimmer.Basic.Example.tsx View on Github external
shimmerElements={[
            { type: ElemType.circle, height: 24 },
            { type: ElemType.gap, widthInPercentage: 2 },
            { type: ElemType.line, height: 16, widthInPercentage: 20 },
            { type: ElemType.gap, widthInPercentage: 5 },
            { type: ElemType.line, height: 16, widthInPercentage: 20 },
            { type: ElemType.gap, widthInPercentage: 10 },
            { type: ElemType.line, height: 16, widthInPercentage: 15 },
            { type: ElemType.gap, widthInPercentage: 10 },
            { type: ElemType.line, height: 16 }
          ]}
        /&gt;
        
        Variations of vertical alignment for Circles and Lines.