@access-ci/ui 0.8.0-beta1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,6 +29,7 @@ The library includes functions for rendering common ACCESS user interface compon
29
29
  - `footerMenus`: Site-specific navigation menus above the footer
30
30
  - `footer`: Universal footer
31
31
  - `resourceCatalog`: ACCESS resource catalog
32
+ - `qaBot`: Question/answer bot
32
33
 
33
34
  ## Example
34
35
 
@@ -47,6 +48,7 @@ The library includes functions for rendering common ACCESS user interface compon
47
48
  </div>
48
49
  <div id="footer-menus"></div>
49
50
  <div id="footer"></div>
51
+ <div id="qa-bot"></div>
50
52
  <script type="module">
51
53
  import {
52
54
  footer,
@@ -125,5 +127,10 @@ The library includes functions for rendering common ACCESS user interface compon
125
127
  });
126
128
 
127
129
  footer({ target: document.getElementById("footer") });
130
+
131
+ qaBot({
132
+ target: document.getElementById("qa-bot"),
133
+ apiKey: "my-api-key",
134
+ });
128
135
  </script>
129
136
  ```