@cloudtower/eagle 0.28.7 → 0.28.8

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
@@ -25,32 +25,28 @@ initParrotI18n();
25
25
  // Set Up Providers
26
26
  ReactDOM.render(
27
27
  <React.StrictMode>
28
- <KitStoreProvider>
29
- <UIKitProvider>
30
- <App />
31
- <UIKitProvider>
32
- </KitStoreProvider>
28
+ <UIKitProvider>
29
+ <App />
30
+ <UIKitProvider>
33
31
  </React.StrictMode>,
34
32
  document.getElementById("root") as HTMLElement
35
33
  );
36
34
  ```
37
35
 
38
36
  ```tsx
39
- import { useUIKit } from "@cloudtower/eagle";
37
+ import { Button } from "@cloudtower/eagle";
40
38
  import React, { useContext } from "react";
41
39
 
42
40
  const App = () => {
43
- // Use Component
44
- const kit = useUIKit();
45
41
  return (
46
42
  <div>
47
- <kit.button
43
+ <Button
48
44
  onClick={() => {
49
45
  alert("hello");
50
46
  }}
51
47
  >
52
48
  say hello
53
- </kit.button>
49
+ </Button>
54
50
  </div>
55
51
  );
56
52
  };