singularity-components 0.1.2 → 0.1.3
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/package.json +2 -1
- package/src/_index.tsx +22 -0
- package/src/index.tsx +0 -19
package/package.json
CHANGED
package/src/_index.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import ReactDOM from "react-dom/client";
|
|
3
|
+
import "./index.css";
|
|
4
|
+
import App from "./App";
|
|
5
|
+
import reportWebVitals from "./reportWebVitals";
|
|
6
|
+
import { Badge } from "components/ui/badge";
|
|
7
|
+
|
|
8
|
+
const root = ReactDOM.createRoot(
|
|
9
|
+
document.getElementById("root") as HTMLElement
|
|
10
|
+
);
|
|
11
|
+
root.render(
|
|
12
|
+
<React.StrictMode>
|
|
13
|
+
<App />
|
|
14
|
+
</React.StrictMode>
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
// If you want to start measuring performance in your app, pass a function
|
|
18
|
+
// to log results (for example: reportWebVitals(console.log))
|
|
19
|
+
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
20
|
+
reportWebVitals();
|
|
21
|
+
|
|
22
|
+
export { Badge };
|
package/src/index.tsx
CHANGED
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import ReactDOM from "react-dom/client";
|
|
3
|
-
import "./index.css";
|
|
4
|
-
import App from "./App";
|
|
5
|
-
import reportWebVitals from "./reportWebVitals";
|
|
6
1
|
import { Badge } from "components/ui/badge";
|
|
7
2
|
|
|
8
|
-
const root = ReactDOM.createRoot(
|
|
9
|
-
document.getElementById("root") as HTMLElement
|
|
10
|
-
);
|
|
11
|
-
root.render(
|
|
12
|
-
<React.StrictMode>
|
|
13
|
-
<App />
|
|
14
|
-
</React.StrictMode>
|
|
15
|
-
);
|
|
16
|
-
|
|
17
|
-
// If you want to start measuring performance in your app, pass a function
|
|
18
|
-
// to log results (for example: reportWebVitals(console.log))
|
|
19
|
-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
20
|
-
reportWebVitals();
|
|
21
|
-
|
|
22
3
|
export { Badge };
|