26 lines
485 B
TypeScript
26 lines
485 B
TypeScript
import * as React from "react";
|
|
import * as ReactDOM from "react-dom";
|
|
import { createGlobalStyle } from "styled-components";
|
|
|
|
import App from "./App";
|
|
import HooksApp from "./HooksApp";
|
|
import { globalStyle } from "./styles";
|
|
const GlobalStyle = createGlobalStyle`
|
|
${globalStyle}
|
|
`;
|
|
|
|
declare global {
|
|
// tslint:disable-next-line
|
|
interface Window {
|
|
blockies: any;
|
|
}
|
|
}
|
|
|
|
ReactDOM.render(
|
|
<>
|
|
<GlobalStyle />
|
|
<HooksApp />
|
|
</>,
|
|
document.getElementById("root"),
|
|
);
|