@julseb-lib/react 1.0.19 → 1.0.21
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/dist/index.cjs +10 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -709,8 +709,9 @@ type ILibThemeContext = {
|
|
|
709
709
|
};
|
|
710
710
|
interface ILibThemeProvider {
|
|
711
711
|
children?: ReactChildren;
|
|
712
|
+
defaultTheme?: LibThemeNames;
|
|
712
713
|
}
|
|
713
|
-
declare const ThemeProviderWrapper: ({ children }: ILibThemeProvider) => react_jsx_runtime.JSX.Element;
|
|
714
|
+
declare const ThemeProviderWrapper: ({ children, defaultTheme, }: ILibThemeProvider) => react_jsx_runtime.JSX.Element;
|
|
714
715
|
/**
|
|
715
716
|
* Custom hook to access the theme context.
|
|
716
717
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -709,8 +709,9 @@ type ILibThemeContext = {
|
|
|
709
709
|
};
|
|
710
710
|
interface ILibThemeProvider {
|
|
711
711
|
children?: ReactChildren;
|
|
712
|
+
defaultTheme?: LibThemeNames;
|
|
712
713
|
}
|
|
713
|
-
declare const ThemeProviderWrapper: ({ children }: ILibThemeProvider) => react_jsx_runtime.JSX.Element;
|
|
714
|
+
declare const ThemeProviderWrapper: ({ children, defaultTheme, }: ILibThemeProvider) => react_jsx_runtime.JSX.Element;
|
|
714
715
|
/**
|
|
715
716
|
* Custom hook to access the theme context.
|
|
716
717
|
*
|