mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-14 21:06:51 +00:00
Moved v3 code from NginxProxyManager/nginx-proxy-manager-3 to NginxProxyManager/nginx-proxy-manager
This commit is contained in:
28
frontend/src/index.tsx
Normal file
28
frontend/src/index.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import React from "react";
|
||||
|
||||
import { ColorModeScript } from "@chakra-ui/react";
|
||||
import ReactDOM from "react-dom";
|
||||
|
||||
import App from "./App";
|
||||
import "./index.scss";
|
||||
import customTheme from "./theme/customTheme";
|
||||
|
||||
declare global {
|
||||
interface Function {
|
||||
Item: React.FC<any>;
|
||||
Link: React.FC<any>;
|
||||
Header: React.FC<any>;
|
||||
Main: React.FC<any>;
|
||||
Options: React.FC<any>;
|
||||
SubTitle: React.FC<any>;
|
||||
Title: React.FC<any>;
|
||||
}
|
||||
}
|
||||
|
||||
ReactDOM.render(
|
||||
<>
|
||||
<ColorModeScript initialColorMode={customTheme.config.initialColorMode} />
|
||||
<App />
|
||||
</>,
|
||||
document.getElementById("root"),
|
||||
);
|
Reference in New Issue
Block a user