mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-05 03:14:07 +01:00
feat: Split string
This commit is contained in:
11
src/config/muiConfig.ts
Normal file
11
src/config/muiConfig.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import {createTheme} from "@mui/material";
|
||||
|
||||
const theme = createTheme({
|
||||
typography: {
|
||||
button: {
|
||||
textTransform: 'none'
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
export default theme;
|
||||
@@ -2,6 +2,7 @@ import {RouteObject} from "react-router-dom";
|
||||
import {Navigate} from "react-router-dom";
|
||||
import {ImagesConfig} from "../pages/images/ImagesConfig";
|
||||
import {lazy} from "react";
|
||||
import {StringConfig} from "../pages/string/StringConfig";
|
||||
|
||||
const Home = lazy(() => import("../pages/home"));
|
||||
|
||||
@@ -14,6 +15,10 @@ const routes: RouteObject[] = [
|
||||
path: "images",
|
||||
children: ImagesConfig
|
||||
},
|
||||
{
|
||||
path: "string",
|
||||
children: StringConfig
|
||||
},
|
||||
{
|
||||
path: "*",
|
||||
element: <Navigate to="404"/>,
|
||||
|
||||
Reference in New Issue
Block a user