Začetni commit projekta rezervacije

This commit is contained in:
Mark Poljanšek committed 2025-04-23 20:19:33 +02:00
commit 328731b32f
56062 files changed
+2485242

No files matched your search

@@ -0,0 +1,6 @@
import { DefaultTheme } from "../defaultTheme/index.js";
export interface ThemeProviderProps<Theme = DefaultTheme> {
children?: React.ReactNode;
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
}
export default function ThemeProvider<T = DefaultTheme>(props: ThemeProviderProps<T>): React.ReactElement<ThemeProviderProps<T>>;
+2
View File
@@ -0,0 +1,2 @@
export { default } from "./ThemeProvider.js";
export * from "./ThemeProvider.js";
+5
View File
@@ -0,0 +1,5 @@
/**
* The default theme interface, augment this to avoid having to set the theme type everywhere.
* Our [TypeScript guide on theme customization](https://mui.com/material-ui/customization/theming/#custom-variables) explains in detail how you would add custom properties.
*/
export interface DefaultTheme {}
+5
View File
@@ -0,0 +1,5 @@
export { default as ThemeProvider } from "./ThemeProvider/index.js";
export * from "./ThemeProvider/index.js";
export { default as useTheme } from "./useTheme/index.js";
export * from "./useTheme/index.js";
export * from "./defaultTheme/index.js";
+2
View File
@@ -0,0 +1,2 @@
export { default } from "./useTheme.js";
export * from "./useTheme.js";
+2
View File
@@ -0,0 +1,2 @@
import { DefaultTheme } from "../defaultTheme/index.js";
export default function useTheme<T = DefaultTheme>(): T;