How to use the gl-react.Visitors.get function in gl-react

To help you get started, we’ve selected a few gl-react 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 gre / gl-react / packages / cookbook / src / Inspector / index.js View on Github external
<select value="{surface">
              <option value="">(none)</option>
              {listSurfaces().map(surface =&gt; (
                <option value="{surface.id}">
                  {surface.getGLName()}
                </option>
              ))}
            </select>
            <label>
              <input value="{Visitors.get().indexOf(inspectorVisitorLogger)" type="checkbox">
              console logs
            </label>
          
          {headerBody}
        
        {body}
      
    );
  }
}