Skip to content

Instantly share code, notes, and snippets.

View olamothe's full-sized avatar

Olivier Lamothe olamothe

View GitHub Profile
REQUEST
[
{
"Field": "mandatory",
"Id": "mandatory (for facet sense)",
"Title": " mandatory (for facet sense). Maybe only Title would do, and we could remove the ID",
"Operator": "default to OR",
"SortCriteria": "All valid sortCriteria",
"NumberOfValues": "default to 5",
@olamothe
olamothe / App.js
Last active October 28, 2020 10:42
Sample React App using Coveo UI
import React, { Component } from 'react';
import './App.css';
import { SearchUI } from './SearchUIWrapper';
class App extends Component {
getTemplateContent() {
return `
<div class="coveo-result-frame">
<div class='coveo-result-row'>