How to use @uifabric/experiments - 10 common examples

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 _getCustomElementsExampleThree = (): JSX.Element => {
    return (
      <div style="{{">
        
        <div style="{{">
          
          </div></div>
github OfficeDev / office-ui-fabric-react / packages / experiments / src / components / Shimmer / examples / Shimmer.CustomElements.Example.tsx View on Github external
private _getCustomElementsExampleOne = (): JSX.Element =&gt; {
    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 _getCustomElementsExampleOne = (): JSX.Element =&gt; {
    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 _getCustomElementsExampleTwo = (): JSX.Element =&gt; {
    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 / SelectedItemsList / SelectedPeopleList / examples / SelectedPeopleList.WithEdit.Example.tsx View on Github external
controlledComponent: boolean;
}

export class SelectedPeopleListWithEditExample extends React.Component&lt;{}, IPeopleSelectedItemsListExampleState&gt; {
  private _selectionList: ISelectedPeopleList;
  private selection: Selection = new Selection({ onSelectionChanged: () =&gt; this._onSelectionChange() });

  // Used to resolve suggestions on the editableItem
  private model = new ExampleSuggestionsModel(people);
  private suggestionsStore = new SuggestionsStore();

  /**
   * Build a custom selected item capable of being edited when the item is right clicked
   */
  private SelectedItem = EditableItem({
    itemComponent: TriggerOnContextMenu(SelectedPersona),
    editingItemComponent: DefaultEditingItem({
      getEditingItemText: persona =&gt; persona.text || '',
      onRenderFloatingPicker: (props: EditingItemInnerFloatingPickerProps) =&gt; (
        
      )
    })
  });

  public render(): JSX.Element {
    return (
      <div>
        Right click any persona to edit it</div>